Skip to content

Commit

Permalink
Adding a specific route to redirect /map
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarne3 committed Jun 28, 2024
1 parent 41eca44 commit 8b03e2e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
"platform": {
"apiRuntime": "node:18"
},
"trailingSlash": "auto"
"routes": [
{
"route": "/map",
"methods": ["GET"],
"redirect": "/map/"
}
]
}

0 comments on commit 8b03e2e

Please sign in to comment.