Skip to content

CORS for public directory #270

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

Closed
andrew-svirin opened this issue Feb 9, 2023 · 2 comments
Closed

CORS for public directory #270

andrew-svirin opened this issue Feb 9, 2023 · 2 comments

Comments

@andrew-svirin
Copy link

I placed in public directory file text.txt but can not access it from another domain by CORS restrictions.

Is it possible to setup cors for static files? Or avoid CORS validation for the specific dir?

@tucksaun
Copy link
Member

A bit related to #229.

In particular: because we serve static files as well the user might not be able to set CORS anywhere else than in the Local Web Server.
So that makes #229 even more legitimate IMHO

@tucksaun
Copy link
Member

Implemented in #293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants