louketo-proxy
louketo-proxy copied to clipboard
Gatekeeper does not set CORS headers
What:
Using the following addition to the configuration CORS should work as designed according to the documentation. {code:java} cors-origins: - 'http://localhost:3000' cors-methods: - GET {code} Unfortunately, the CORS headers are not added to any responses. I already checked the code and I can see the setup of the /rs/cors Handler. This seems alright. So I assume this is some sort of a configuration or environment issue. I just cant find it. I would be thankful for any suggestions.
Reference:
Looks like CORS is supported with this pull request but never made it into the main branch:
https://github.com/louketo/louketo-proxy/commit/428c31f28a5cbc24ed7f989bf2ce90cd5fbf07a4