Skip to content

Instantly share code, notes, and snippets.

@alibabayev0
Created April 21, 2023 12:57
Show Gist options
  • Save alibabayev0/1712ad9cc3dc97a6e0985441fe1e7c3e to your computer and use it in GitHub Desktop.
Save alibabayev0/1712ad9cc3dc97a6e0985441fe1e7c3e to your computer and use it in GitHub Desktop.
Azure Static Web App - React.js - Config
{
"globalHeaders": {
"content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'"
},
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/img/*.{png,jpg,gif,webp}", "/css/*"]
},
"mimeTypes": {
"custom": "text/html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment