Skip to content

Allow cors requests - #14

Open
georgweiss wants to merge 2 commits into
masterfrom
allow_cors
Open

georgweiss wants to merge 2 commits into
masterfrom
allow_cors

Conversation

@georgweiss

Copy link
Copy Markdown
Collaborator

Will add cors origins pattern if specified as Java runtime parameter (-Dcors.allowed.origins=*) or as environment variable (export cors.allowed.origins=*).

Should resolve issue for web applications hosted on different server than the pvws service. There is no need to tweak web.xml.

@tynanford

Copy link
Copy Markdown
Collaborator

Thanks @georgweiss . This looks like it will cover the web socket connections, could you also add the CORS headers to the HTTP health endpoints like /summary, /info, etc?

Also maybe good to add to the application.properties file so people know it is available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants