Access to font from origin has been blocked by CORS policy #18122
Unanswered
harishmathur
asked this question in
Q&A
Replies: 1 comment
-
You need to setup CORS headers for your servers, there are no problems with webpack here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am implementing Webpack Module Federation with 1 Host app and 1 child app.
When I hit the Host app URL, I get below CORS error (even though I have enabled CORS on both Host and Child app and also allowing myorg.net.
Access to font at 'https://mychild-app.apps.myorg.net/static/media/open-sans-latin-400-normal.xxxxxxxxx.woff2' from origin 'https://myhost-app.apps.myorg.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please let me know if anything similar is a known issue with Webpack Module Federation
Beta Was this translation helpful? Give feedback.
All reactions