Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Configure Cross-Origin Resource Sharing (CORS) locally - #46

#46
Open
tan1193 wants to merge 1 commit into
staticwebdev:mainstaticwebdev/blazor-starter:mainfrom
tan1193:add-cors-localtan1193/blazor-starter:add-cors-localCopy head branch name to clipboard
Open

Configure Cross-Origin Resource Sharing (CORS) locally#46
tan1193 wants to merge 1 commit into
staticwebdev:mainstaticwebdev/blazor-starter:mainfrom
tan1193:add-cors-localtan1193/blazor-starter:add-cors-localCopy head branch name to clipboard

Conversation

@tan1193

@tan1193 tan1193 commented Aug 19, 2023

Copy link
Copy Markdown

You won't have to worry about Cross-Origin Resource Sharing (CORS) when you publish to Azure Static Web Apps. Azure Static Web Apps automatically configure your app to communicate with your API on Azure using a reverse proxy. But when running locally, you need to configure CORS to allow your web app and API to communicate.

Now, prompt Azure Functions to allow your web app to request HTTP to the API on your computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.