Route for appending .htm #1514
eric-davis902-CSH
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to add a route to the staticwebapp.config.json file to route requests for /innovation to /innovation.htm.
Here's the routes, but last one is not working.
"routes": [
{
"route": "/",
"rewrite": "/default.htm"
},
{
"route": "/{path}.htm",
"allowedRoles": []
},
{
"route": "/images/",
"allowedRoles": []
},
{
"route": "/css/",
"allowedRoles": []
},
{
"route": "/js/",
"allowedRoles": []
},
{
"route": "/fonts/",
"allowedRoles": []
},
{
"route": "/dynamicfiles/",
"allowedRoles": []
},
{
"route": "/jquery/",
"allowedRoles": []
},
{
"route": "/{path}",
"rewrite": "/{path}.htm"
}
]
Beta Was this translation helpful? Give feedback.
All reactions