-
Notifications
You must be signed in to change notification settings - Fork 0
/
vercel.json
73 lines (72 loc) · 2.83 KB
/
vercel.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
{
"version": 2,
"regions": ["cdg1"],
"public": true,
"env": {
"NODE_ENV": "production",
"NODEJS_AWS_HANDLER_NAME": "handler"
},
"functions": {
"api/p.js": {
"includeFiles": "{static,__sapper__}/**"
},
"api/pwdls.js": {
"includeFiles": "*"
},
"api/digit.js": {
"includeFiles": "{.,export,static}/_digits/*"
}
},
"headers": [
{ "source": "/(.*)[.]svg",
"headers": [ { "key": "cache-control",
"value": "s-maxage=36000" } ] },
{ "source": "/(.*)[.]png",
"headers": [ { "key": "cache-control",
"value": "s-maxage=36000" } ] },
{ "source": "/(.*)[.]css",
"headers": [ { "key": "Content-Type",
"value": "text/css; charset=UTF-8" } ] },
{ "source": "/(.*)[.]txt",
"headers": [ { "key": "Content-Type",
"value": "text/plain; charset=UTF-8" } ] },
{ "source": "/(.*)[.]xml",
"headers": [ { "key": "Content-Type",
"value": "text/xml; charset=UTF-8" } ] },
{ "source": "/api/(.*)",
"headers": [ { "key": "X-Via",
"value": "/api/" },
{ "key": "Cache-Control",
"value": "s-max-age=1, stale-while-revalidate" }
] },
{ "source": "/(.*)",
"headers": [ {
"key": "X-DNS-Prefetch-Control",
"value": "on"
}, {
"key": "Content-Security-Policy-Report-Only",
"value": "default-src *.codegradx.org; object-src 'none'; media-src *.youtube.com; frame-src *.youtube.com; img-src *.codegradx.org *.ytimg.com; style-src 'unsafe-inline' *.codegradx.org; script-src 'unsafe-eval' 'unsafe-inline' *.codegradx.org; base-uri *.codegradx.org; form-action *.codegradx.org; report-uri https://x10.codegradx.org/CSPreport;"
}, {
"key": "X-XSS-Protection",
"value": "1; mode=block"
}, {
"key": "X-Content-Type-Options",
"value": "nosniff"
}, {
"key": "Referrer-Policy",
"value": "origin"
}, {
"key": "Report-To",
"value": "{\"group\":\"default\",\"max_age\":10886400,\"endpoints\":[{\"url\":\"https://r5w3n0xw.uriports.com/reports\"}],\"include_subdomains\":true}"
}, {
"key": "NEL",
"value": "{\"report_to\":\"default\",\"max_age\":2592000,\"include_subdomains\":true,\"failure_fraction\":1.0}"
}
] }
],
"rewrites": [
{ "source": "/api/p(/.*)",
"destination": "/api/p/" },
{ "source": "/(.*)",
"destination": "/index.html" } ]
}