CORS Feature in Static Web Apps (Preview)
Hello! I would like to see the ability to setup CORS in Static Web Apps like you can for regular App Service.
It would be VERY helpful to have this available, especially when using the service with no framework installed. For instance, having a script file or CSS file served from the static site, and used by my App Service. I can access the file when hitting it directly by URL, but when I try to link to a CSS file or JS file from one of my other Azure sites, for example, I can’t do so. When I try to access these resources, I get an CORS error.
While I’m sure I can hack around a bit with a JS framework to add the headers to allow for CORS, it would be great to easily enable from the blade, as I can with App Service.
Thanks!
