-
Notifications
You must be signed in to change notification settings - Fork 2
/
now.json
40 lines (40 loc) · 918 Bytes
/
now.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"version": 2,
"name": "photo-album",
"build": {
"env": {
"API_ROOT": "https://photos-app.robinclowers.com",
"FRONT_END_ROOT": "https://photos.robinclowers.com",
"STAGING_API_ROOT": "https://photos-app-staging.robinclowers.com",
"STAGING_FRONT_END_ROOT": "https://photos-staging.robinclowers.com",
"GA_TRACKING_ID": "@ga_tracking_id"
}
},
"routes": [
{
"src": "/albums/(?<slug>[^/]*)",
"dest": "/client/album?slug=$slug"
},
{
"src": "/albums/(?<slug>[^/]*)/(?<filename>[^/]*)",
"dest": "/client/photo?slug=$slug&filename=$filename"
},
{
"src": "/favorites",
"dest": "/client/favorites"
},
{
"src": "/(.*)",
"dest": "/client/$1"
}
],
"builds": [
{
"src": "client/next.config.js",
"use": "@now/next",
"config": {
"maxLambdaSize": "50mb"
}
}
]
}