Custom 404 page (#2575)

* add responseOverrides for hugo 404 page 

add responseOverrides for hugo 404 page instead of the current Azure static web apps 404 page

* Update staticwebapp.config.json

* Add missing comma

Signed-off-by: nyemade-uversky <55847877+nyemade-uversky@users.noreply.github.com>
This commit is contained in:
nyemade-uversky 2022-06-29 15:40:46 -06:00 committed by GitHub
parent 27541dc482
commit 64b206a253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
{
"globalHeaders": {
"X-Frame-Options": "DENY"
},
"responseOverrides": {
"404": {
"rewrite": "/404.html",
"statusCode": 404
}
}
}