louketo-proxy icon indicating copy to clipboard operation
louketo-proxy copied to clipboard

Gatekeeper does not set CORS headers

Open abstractj opened this issue 4 years ago • 1 comments

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:

abstractj avatar Apr 28 '20 19:04 abstractj

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

mixxen avatar Aug 06 '20 09:08 mixxen