Skip to content

Commit

Permalink
feat: static web app config
Browse files Browse the repository at this point in the history
  • Loading branch information
okradze committed Jan 26, 2024
1 parent 1d39774 commit 9e21bab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
6 changes: 0 additions & 6 deletions apps/ui/public/staticwebapp.config.json

This file was deleted.

13 changes: 8 additions & 5 deletions apps/ui/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*"]
}
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*"]
},
"globalHeaders": {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, OPTIONS"
}
}

0 comments on commit 9e21bab

Please sign in to comment.