add nav failback

This commit is contained in:
Ammar Qaffaf
2024-08-25 13:14:42 +03:00
parent 17fb3d34dd
commit 85bd738749
2 changed files with 7 additions and 2 deletions

View File

@ -28,9 +28,9 @@ jobs:
action: "upload" action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### ###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/web" # App source code path app_location: "/" # App source code path
api_location: "" # Api source code path - optional api_location: "" # Api source code path - optional
output_location: "/web/build" # Built app content directory - optional output_location: "/web" # Built app content directory - optional
###### End of Repository/Build Configurations ###### ###### End of Repository/Build Configurations ######
close_pull_request_job: close_pull_request_job:

5
staticwebapp.config.json Normal file
View File

@ -0,0 +1,5 @@
{
"navigationFallback": {
"rewrite": "/index.html"
}
}