Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
324 stars 56 forks source link

Unsure of how to add COEP & COOP headers #1202

Open Power-Maverick opened 1 year ago

Power-Maverick commented 1 year ago

Describe the bug

We are integrating with Zoom in our app with their Video SDK which requires us to enable SAB (Shared Access Buffer). We were looking into enabling that using credentialless headers but I can't find any documentation that shows us how to add additional headers.

We need a way to add COEP, COOP & CORS headers to the server in order for the app to work properly with Zoom integration.

mishapos commented 1 year ago

Hi, does the globalHeaders configuration fit what you are looking for?

https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#global-headers