feat: add 404 redir for azure static app

This commit is contained in:
2022-12-10 23:27:45 +08:00
parent 20241d192a
commit a455b41ece

11
staticwebapp.config.json Normal file
View File

@@ -0,0 +1,11 @@
{
"responseOverrides": {
"400": {
"statusCode": 301,
"redirect": "/404"
},
"404": {
"rewrite": "/404"
}
}
}