-
-
Save mattruma/9a07eb3e63227ae57928343b2a2c4846 to your computer and use it in GitHub Desktop.
adventures-with-apim-blazor-webassembly-cors-issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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