mirror of
https://github.com/uetchy/namae.git
synced 2025-10-14 23:22:19 +09:00
fix: redirection
This commit is contained in:
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",
|
||||||
|
Reference in New Issue
Block a user