-
Notifications
You must be signed in to change notification settings - Fork 0
/
vercel.json
37 lines (37 loc) · 1.39 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
{
"functions": {
"api/getuser.ts": {
"memory": 256,
"maxDuration": 16,
"includeFiles": "assets/{{[1-5]-22,[1-6]-33,noface}.jpg}"
},
"api/getvideo.ts": {
"memory": 256,
"maxDuration": 16,
"includeFiles": "assets/{error.mp4,nocover.png}"
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "*" },
{ "key": "Access-Control-Allow-Headers", "value": "*" },
{ "key": "Access-Control-Max-Age", "value": "7200" },
{ "key": "Content-Security-Policy", "value": "default-src 'none'; connect-src 'self' https:; font-src 'self'; img-src 'self' * data:; media-src 'self' *; script-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'none'; form-action 'self'; frame-ancestors 'none'" },
{ "key": "Referrer-Policy", "value": "same-origin" },
{ "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubDomains; preload" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Robots-Tag", "value": "noindex" }
]
}
],
"redirects": [
{ "source": "/", "destination": "/api/" }
],
"rewrites": [
{ "source": "/(.*)", "destination": "/api/404.ts" }
]
}