mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +09:00
feat: caching
This commit is contained in:
parent
540d1d1660
commit
2172878abf
5
now.json
5
now.json
@ -16,7 +16,10 @@
|
||||
"routes": [
|
||||
{
|
||||
"src": "/availability/(?<provider>[^/]+)/(?<id>[^/]+)",
|
||||
"dest": "/src/services/$provider.js?name=$id"
|
||||
"dest": "/src/services/$provider.js?name=$id",
|
||||
"headers": {
|
||||
"Cache-Control": "maxage=0, s-maxage=3600"
|
||||
}
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user