Skip to content

Commit

Permalink
fix_api(fe): Fixed app reload on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel0347 authored and Javi111003 committed Dec 5, 2024
1 parent 6ccaf79 commit 5468cce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
{
"glob": "**/*",
"input": "public"
}
},
"src/staticwebapp.config.json"
],
"styles": [
"node_modules/ngx-toastr/toastr.css",
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*"]
}
}

0 comments on commit 5468cce

Please sign in to comment.