-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins: 2.190.2
jenkins-sse-gateway: 1.20
We use the CORS plugin to be able to access jenkins content from an HTML REST Client. To receive status updates on our dashboard we use the Jenkins SSE Gateway plugin with the javascript client.
The plugin doesn't use the CORS settings from the CORS plugin. So far we have forked the repo and hard coded CORS in src\main\java\org\jenkinsci\plugins\ssegateway\Endpoint.java.
A better approach would be to get the information from the cors-plugin on initialize.
But shouldn't the SSE request go through the CORS Filter anyway?