Skip to content

Commit

Permalink
Added SPA Config Json
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmansha committed May 5, 2024
1 parent b3276ad commit 3e9df84
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"assets": [
"src/favicon.ico",
"src/assets",
"src/web.config"
"src/web.config",
"src/staticwebapp.config.json"
],
"styles": [
"src/styles.scss"
Expand Down
7 changes: 7 additions & 0 deletions src/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/images/*.{png,jpg,gif}", "/css/*"]
}
}

0 comments on commit 3e9df84

Please sign in to comment.