mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-10 09:41:27 +08:00
feat: add 404 redir for azure static app
This commit is contained in:
11
staticwebapp.config.json
Normal file
11
staticwebapp.config.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"responseOverrides": {
|
||||||
|
"400": {
|
||||||
|
"statusCode": 301,
|
||||||
|
"redirect": "/404"
|
||||||
|
},
|
||||||
|
"404": {
|
||||||
|
"rewrite": "/404"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user