You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either by a file specified via aemfed --config ./aemfed.config.js, or a new entry in package.json (ie: "aemfed": { ... })
I'm currently having issues with some URL requests to Web Fonts returning HTTP 200 with headers containing "connection: close", resulting blank Font files for some reason.
It would be nice to have greater control over the underlying options of aemfed & especially browsersync to inspect the requests / troubleshoot the proxy.
I'm not even sure, but maybe browsersync already looks for such a config if present in the root project directory?
The text was updated successfully, but these errors were encountered:
By adding the following rules, I've been able to make the web requests behave like they were served directly from the port :4502 (the actual AEM author instance on my local dev environment)
Modify Headers Rule:Referer, Host, Origin = Match them the same as how your original :4502 requests gets sent. Don't forget to set a "If URL contains..." path that matches only for where your resources are located.
Modify Headers Rule:Replace, With = Set this to whatever you use for your localhost:3000 VS. localhost:4502. Again, don't forget to set a "If URL contains..." path that matches only for where your resources are located.
Either by a file specified via
aemfed --config ./aemfed.config.js
, or a new entry inpackage.json
(ie:"aemfed": { ... }
)I'm currently having issues with some URL requests to Web Fonts returning HTTP 200 with headers containing "connection: close", resulting blank Font files for some reason.
It would be nice to have greater control over the underlying options of aemfed & especially browsersync to inspect the requests / troubleshoot the proxy.
I'm not even sure, but maybe browsersync already looks for such a config if present in the root project directory?
The text was updated successfully, but these errors were encountered: