timer icon indicating copy to clipboard operation
timer copied to clipboard

Enable CORS for all methods and origins

Open josemanuelp opened this issue 3 years ago • 2 comments

We at Mobus Operandi frequently forget to start the timer. So we had this idea when the driver starts screen sharing the timer would be started automatically.

We are using Jitsi Meet in a browser for the video call and screen sharing. We figured out how to do this but the browser doesn't allow us to make the request because CORS headers are not present in the preflight response from the server.

We'd be happy to submit a pull request that enables CORS for all methods and origins, in the global Spring configuration.

The change would be something like this:

allowed-origins="*"
allowed-methods="GET, HEAD, POST, PUT"

josemanuelp avatar Jun 10 '22 15:06 josemanuelp

Fine for me. Go ahead with the PR. :-)

simonharrer avatar Jun 10 '22 17:06 simonharrer

Alright, it's on our list, then.

mightyiam avatar Jun 11 '22 08:06 mightyiam