1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00
namae/now.json
2019-09-01 01:39:29 +09:00

30 lines
561 B
JSON

{
"version": 2,
"name": "namae",
"alias": "namae.dev",
"builds": [
{
"src": "/web/package.json",
"use": "@now/static-build",
"config": { "distDir": "build" }
},
{
"src": "/api/services/*.ts",
"use": "@now/node@canary"
}
],
"routes": [
{
"src": "/availability/(?<provider>[^/]+)/(?<query>[^/]+)",
"dest": "/api/services/$provider.ts?query=$query"
},
{
"src": "/(.*)",
"dest": "/web/$1"
}
],
"env": {
"NTA_APPLICATION_ID": "@namae-nta-application-id"
}
}