Replies: 1 comment 2 replies
-
Provide repo |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Noticed that when using
RemoteEntry.js
requests are made inno-cors
modebut when
mf-manifest.json
is used the requests are made incors
mode to obtain the resource.Is there a way to control this with a user supplied config?
Scenario
Developing on a host locally and the remotes are hosted on a CDN. Some of our remotes are using
RemoteEntry.js
and the new remotes are usingmf-manifest.json
. In this case the requests formf-manifest.json
fromlocalhost
to the CDN gets blocked because of CORS policy but the requests forRemoteEntry.js
goes through. I have less control on setting the CDN response headers (Access-Control-Allow-Origin: *) so was checking to see if there was any way to control this behavior?Beta Was this translation helpful? Give feedback.
All reactions