mirror of https://github.com/dapr/docs.git
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:
parent
27541dc482
commit
64b206a253
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
"globalHeaders": {
|
"globalHeaders": {
|
||||||
"X-Frame-Options": "DENY"
|
"X-Frame-Options": "DENY"
|
||||||
|
},
|
||||||
|
"responseOverrides": {
|
||||||
|
"404": {
|
||||||
|
"rewrite": "/404.html",
|
||||||
|
"statusCode": 404
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue