Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to font from origin has been blocked by CORS policy #18117

Closed
harishmathur opened this issue Feb 25, 2024 · 0 comments
Closed

Access to font from origin has been blocked by CORS policy #18117

harishmathur opened this issue Feb 25, 2024 · 0 comments

Comments

@harishmathur
Copy link

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

@harishmathur harishmathur changed the title Access to font at from origin has been blocked by CORS policy Access to font from origin has been blocked by CORS policy Feb 25, 2024
@webpack webpack locked and limited conversation to collaborators Feb 27, 2024
@alexander-akait alexander-akait converted this issue into discussion #18122 Feb 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant