How to enable CORS when using the development server combined with a second local server (local host) ? #558
Answered
by
gdotdesign
serge-hulne
asked this question in
Answered
-
How to enable CORS when using the development server
combined with a second local server (local host) // running on e.g. localhost:8080 |
Beta Was this translation helpful? Give feedback.
Answered by
gdotdesign
Dec 18, 2022
Replies: 1 comment 6 replies
-
Hey @serge-hulne CORS is done on the server side, you need to set up the appropriate response headers for all requests: |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
serge-hulne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @serge-hulne
CORS is done on the server side, you need to set up the appropriate response headers for all requests:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#the_http_response_headers