-
Notifications
You must be signed in to change notification settings - Fork 7
Move CORS handling to ingress #10
Copy link
Copy link
Closed
Description
Right now there is some CORS code in the demo app but it's probably better to move that to the ingress so people don't need to worry about reimplementing that in their backend service, especially if they choose to write it in a different language.
The annotations can be added to ingress.yml like this:
nginx.ingress.kubernetes.io/enable-cors "true"
nginx.ingress.kubernetes.io/cors-allow-origin "https://something.com/"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels