Add 404 catch-all handler for SPA.

This commit is contained in:
Kavin 2022-11-10 18:11:04 +00:00
parent 4f09cd3d95
commit f80f56a2bb
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
{
"github": {
"silent": true
}
},
"routes": [
{
"src": "/[^.]+",
"dest": "/",
"status": 200
}
]
}