Skip to content

Commit

Permalink
fix(docs): Configure SWA to never emit trailing slashes for website U…
Browse files Browse the repository at this point in the history
…RLs (microsoft#23286)

Ensures consistent relative file path link behavior by ensuring resolved
site URLs never include a trailing slash. See
<https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#never>

Also makes some small fixes to config files for local development.


[AB#25895](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/25895)
  • Loading branch information
Josmithr committed Dec 12, 2024
1 parent af07d78 commit 79c0716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/static/staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"route": "/404",
"statusCode": 404
}
]
],
"trailingSlash": "never"
}

0 comments on commit 79c0716

Please sign in to comment.