-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnow.json
45 lines (45 loc) · 1.1 KB
/
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
41
42
43
44
45
{
"name": "pinjollist",
"alias": "pinjollist.now.sh",
"version": 2,
"regions": ["sin1"],
"env": {
"FIREBASE_PROJECT_ID": "@pinjollist-firebase-project-id",
"FIREBASE_PRIVATE_KEY_BASE64": "@pinjollist-firebase-private-key-base64",
"FIREBASE_CLIENT_EMAIL": "@pinjollist-firebase-client-email",
"SHEETS_ID": "@pinjollist-sheets-id"
},
"build": {
"env": {
"API_URL": "@pinjollist-api-url",
"GOOGLE_ANALYTICS": "@pinjollist-google-analytics"
}
},
"builds": [
{
"src": "www/next.config.js",
"use": "@now/next"
}
],
"routes": [
{
"src": "^/_next/static/(.*)",
"headers": { "Cache-Control": "public, max-age=31536000, immutable" },
"dest": "/www/_next/static/$1"
},
{
"src": "^/static/(.*)",
"headers": { "Cache-Control": "public, max-age=31536000, immutable" },
"dest": "/www/static/$1"
},
{
"src": "/(.*)",
"dest": "/www/$1",
"headers": {
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block",
"X-Content-Type-Options": "nosniff"
}
}
]
}