Closed nab-os closed 10 months ago
Hi,
I would like to use the WHEP endpoint from a client on a different page (a Firefox extension in this precise case). But I get rejected because of CORS:
Reason: CORS header 'Access-Control-Allow-Origin' missing
I can see in the code that the header is supposed to get set: https://github.com/Glimesh/broadcast-box/blob/e7b48c028eb2ee1b68306410f027996ddc72235e/main.go#L152
But that doesn't seem to get to the client, on the BB page or on my FF extension. These are all the headers that I get:
Could that be because of the reverse proxy that is in front of it ?
That was it. Thank you, bye bye :wave:
Hi,
I would like to use the WHEP endpoint from a client on a different page (a Firefox extension in this precise case).
But I get rejected because of CORS:
Reason: CORS header 'Access-Control-Allow-Origin' missing
I can see in the code that the header is supposed to get set:
https://github.com/Glimesh/broadcast-box/blob/e7b48c028eb2ee1b68306410f027996ddc72235e/main.go#L152
But that doesn't seem to get to the client, on the BB page or on my FF extension.
These are all the headers that I get: