Request: Configure CORS for StaticWebApp
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
We are creating a solution where the files hosted on our static web app should also be available from a separate website.
Currently that is blocked by CORS, and I cannot find a way to configure it.
The use-case we have is a shared "Portal" website that is embedding different web-apps on separate domains. This means that releases of the web-apps are independent of the portal, but that the portal needs to access these various services from the browser.
We are currently hosting these web-apps on AppService, but would like to use static apps instead. But we are blocked by CORS in the browser, and cannot find a way to enable
Is there any plans for adding CORS configuration?
**Describe the solution you'd like**
Exposed CORS whitelist for specific domains.
**Describe alternatives you've considered**
N/A
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.