Skip to content

Instantly share code, notes, and snippets.

@mattruma
Last active Dec 27, 2021
Embed
What would you like to do?
adventures-with-apim-blazor-webassembly-cors-issues
<policies>
<inbound>
<base />
<cors>
<allowed-origins>
<origin>https://localhost:7221/</origin>
<origin>https://localhost:44372/</origin>
</allowed-origins>
<allowed-methods>
<method>GET</method>
<method>POST</method>
<method>PUT</method>
<method>DELETE</method>
<method>OPTIONS</method>
<method>HEAD</method>
<method>PATCH</method>
</allowed-methods>
</cors>
</inbound>
<backend>
<base />
</backend>
<outbound>
<base />
</outbound>
<on-error>
<base />
</on-error>
</policies>
<policies>
<inbound>
<base />
<cors>
<allowed-origins>
<origin>https://localhost:7221/</origin>
<origin>https://localhost:44372/</origin>
</allowed-origins>
<allowed-methods>
<method>GET</method>
<method>POST</method>
<method>PUT</method>
<method>DELETE</method>
<method>OPTIONS</method>
<method>HEAD</method>
<method>PATCH</method>
</allowed-methods>
<allowed-headers>
<header>*</header>
</allowed-headers>
</cors>
</inbound>
<backend>
<base />
</backend>
<outbound>
<base />
</outbound>
<on-error>
<base />
</on-error>
</policies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment