Skip to content
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

13-modules, 01-modules-intro note about CORS policy and file:// protocol #1786

Closed
benjaminpreiss opened this issue Mar 3, 2020 · 2 comments
Closed

Comments

@benjaminpreiss
Copy link

@benjaminpreiss benjaminpreiss commented Mar 3, 2020

hey,

I just bumped into an error yesterday which was due to CORS policy and said:

"Cross origin requests are only supported for HTTP."

So i just found out that you can only use import/export when you have a webserver serving the site which I find a very useful information.

Thats why I would like to suggest a note about that in 02-import-export

@benjaminpreiss benjaminpreiss changed the title 13-modules, 02-import-export note about usage in webserver 13-modules, 02-import-export note about CORS policy Mar 3, 2020
@benjaminpreiss benjaminpreiss changed the title 13-modules, 02-import-export note about CORS policy 13-modules, 02-import-export note about CORS policy and file:// protocol Mar 3, 2020
@iliakan
Copy link
Member

@iliakan iliakan commented Mar 3, 2020

Indeed. Please make a PR about it?

@benjaminpreiss
Copy link
Author

@benjaminpreiss benjaminpreiss commented Mar 4, 2020

yes, happily!

I think I will add a third point in Browser-specific features -> External scripts

@benjaminpreiss benjaminpreiss changed the title 13-modules, 02-import-export note about CORS policy and file:// protocol 13-modules, 01-modules-intro note about CORS policy and file:// protocol Mar 4, 2020
@iliakan iliakan closed this Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.