mirror of
https://github.com/uetchy/namae.git
synced 2025-07-01 22:10:04 +09:00
fix: redirection
This commit is contained in:
parent
a1a397954e
commit
01293b6628
5
now.json
5
now.json
@ -18,6 +18,11 @@
|
|||||||
"src": "/availability/(?<provider>[^/]+)/(?<query>[^/]+)",
|
"src": "/availability/(?<provider>[^/]+)/(?<query>[^/]+)",
|
||||||
"dest": "/api/services/$provider.ts?query=$query"
|
"dest": "/api/services/$provider.ts?query=$query"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"src": "/s/(.*)",
|
||||||
|
"dest": "/web/index.html",
|
||||||
|
"headers": {"cache-control": "s-maxage=86400"}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"src": "/(.*)",
|
"src": "/(.*)",
|
||||||
"dest": "/web/$1",
|
"dest": "/web/$1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user