1
0
mirror of https://github.com/uetchy/namae.git synced 2025-07-01 14:00:03 +09:00

fix: redirection

This commit is contained in:
uetchy 2020-02-05 16:39:05 +09:00
parent a1a397954e
commit 01293b6628

View File

@ -18,6 +18,11 @@
"src": "/availability/(?<provider>[^/]+)/(?<query>[^/]+)",
"dest": "/api/services/$provider.ts?query=$query"
},
{
"src": "/s/(.*)",
"dest": "/web/index.html",
"headers": {"cache-control": "s-maxage=86400"}
},
{
"src": "/(.*)",
"dest": "/web/$1",