Skip to content

Commit

Permalink
Added staticwebapp configuration file. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Utar94 authored Oct 19, 2023
1 parent ed28536 commit 6b10c87
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"globalHeaders": {
"content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src https: data:;"
},
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/img/*.{png,jpg,gif,webp}", "/css/*"]
},
"mimeTypes": {
"custom": "text/html"
}
}

0 comments on commit 6b10c87

Please sign in to comment.