1
0
mirror of https://github.com/uetchy/namae.git synced 2025-09-10 10:06:39 +09:00
This commit is contained in:
2019-07-27 19:18:54 +09:00
commit f84667b2d6
17 changed files with 10716 additions and 0 deletions

26
now.json Normal file
View File

@@ -0,0 +1,26 @@
{
"version": 2,
"name": "namae",
"alias": "namae.dev",
"builds": [
{
"src": "package.json",
"use": "@now/static-build",
"config": { "distDir": "build" }
},
{
"src": "availability/*.js",
"use": "@now/node"
}
],
"routes": [
{
"src": "/availability/(?<provider>[^/]+)/(?<id>[^/]+)",
"dest": "/availability/$provider.js?name=$id"
},
{
"src": "/(.*)",
"dest": "/$1"
}
]
}