-
Notifications
You must be signed in to change notification settings - Fork 9
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
CORS security error when running vscode live server in the browser #32
Comments
If Deutsche Bahn's API used by You can either run |
If you only need it to run on your own machine, you can install a browser extension to disable CORS. |
Note that, unless this browser extension only works for certain origins (more or less domains), this is highly discouraged! It will leave you exposed to various attacks, e.g. any page could query your Gmail inbox. |
You are correct. I should have added that warning myself. |
Hallo, first of all thanks for this great api,
I tried to build a little app/website for my use and when I try to run it in the browser I get a Cross-Origin Resource Sharing (CORS) error.
Is there any solution to it?
The text was updated successfully, but these errors were encountered: