-
Notifications
You must be signed in to change notification settings - Fork 1
/
now.json
96 lines (96 loc) · 2.51 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
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
93
94
95
96
{
"version": 2,
"scope": "syllabusapp",
"name": "syllabus",
"alias": "syllabusapp",
"env": {
"PRISMA_SECRET": "testing123",
"PRISMA_ENDPOINT": "https://us1.prisma.sh/syllabus/syllabus-api/dev",
"APP_SECRET": "jwtsecret123",
"MJ_APIKEY_PUBLIC": "",
"MJ_APIKEY_PRIVATE": "",
"STRIPE_TEST_PRIVATE_KEY": "sk_test_1itrH6UYor1r0IbawEmlBspc00iJFJ25E7"
},
"builds": [
{
"src": "api/dist/src/index.js",
"use": "@now/node",
"config": {
"maxLambdaSize": "20mb"
}
},
{
"src": "app/package.json",
"use": "@now/static-build",
"config": { "distDir": "build" }
}
],
"routes": [
{ "src": "^/graphql(/?)$", "dest": "api/dist/src/index.js" },
{
"src": "^/static/(.*)$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/static/$1"
},
{
"src": "^/icons/(.*)$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/icons/$1"
},
{
"src": "^/locales/(.*)$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/locales/$1"
},
{
"src": "^/asset-manifest.json$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/asset-manifest.json"
},
{
"src": "^/browserconfig.xml$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/browserconfig.xml"
},
{
"src": "^/favicon.ico$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/favicon.ico"
},
{
"src": "^/logo.jpg$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/logo.jpg"
},
{
"src": "^/manifest.json$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/manifest.json"
},
{
"src": "^/precache-manifest.(.*)$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/precache-manifest.$1"
},
{
"src": "^/robots.txt$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/robots.txt"
},
{
"src": "^/safari-pinned-tab.svg$",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "app/safari-pinned-tab.svg"
},
{
"src": "^/service-worker.js$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/service-worker.js"
},
{
"src": "^/(.*)$",
"headers": { "cache-control": "s-maxage=0" },
"dest": "app/index.html"
}
]
}