This repository was archived by the owner on Aug 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnow.json
More file actions
92 lines (92 loc) · 2.19 KB
/
now.json
File metadata and controls
92 lines (92 loc) · 2.19 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "floatingdots",
"version": 2,
"public": false,
"github": {
"enabled": true,
"autoAlias": true
},
"builds": [
{ "src": "/web/package.json", "use": "@now/static-build" },
{ "src": "/web/api/message/*.js", "use": "@now/node" },
{ "src": "/web/api/schedulePosts.js", "use": "@now/node" }
],
"build": {
"env": {
"SANITY_READ_TOKEN": "@fd-sanity-read-token",
"AIRTABLE_APIKEY": "@airtable-apikey",
"AIRTABLE_BASE": "@fd-airtable-schedule-posts-base"
}
},
"env": {
"AIRTABLE_APIKEY": "@airtable-apikey",
"AIRTABLE_BASE": "@fd-airtable-schedule-posts-base",
"POSTMARK_ACCESSTOKEN": "@fd-postmark-accesstoken",
"EMAIL_SENDER": "@fd-email-sender",
"EMAIL_RECEIVER": "@fd-email-receiver"
},
"routes": [
{
"src": "/(.*).html",
"headers": {
"cache-control": "public, max-age=0, must-revalidate"
},
"continue": true
},
{
"src": "/public/page-data/(.*)",
"headers": {
"cache-control": "public, max-age=0, must-revalidate"
},
"continue": true
},
{
"src": "/static/(.*)",
"headers": {
"cache-control": "public, max-age=31536000, immutable"
},
"continue": true
},
{
"src": "/(.*).(css|js|svg|png|jpg|jpeg|gif|webp|pdf)",
"headers": {
"cache-control": "public, max-age=31536000, immutable"
},
"continue": true
},
{
"src": "/favicon.icon",
"headers": {
"cache-control": "public, max-age=31536000, immutable"
},
"continue": true
},
{
"src": "/api/(.*)",
"dest": "/web/api/$1.js",
"methods": ["POST", "GET"]
},
{
"src": "/studio(/?)",
"dest": "/about/",
"status": 301
},
{
"src": "/ja/studio(/?)",
"dest": "/ja/about/",
"status": 301
},
{
"src": "/(((?!\\?|#|\\.).)*((?!\\?|/|#|\\.).))",
"status": 301,
"headers": { "Location": "/$1/" }
},
{
"src": "/(.*)",
"dest": "/web/$1/"
},
{ "handle": "filesystem" },
{ "src": "/ja/(.*)", "status": 404, "dest": "/web/ja/404/" },
{ "src": "/(.*)", "status": 404, "dest": "/web/404/" }
]
}