Repository navigation
Expand file tree
/
Copy pathvercel.json
More file actions
50 lines (50 loc) · 1.41 KB
/
Copy pathvercel.json
File metadata and controls
50 lines (50 loc) · 1.41 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"redirects": [
{
"source": "/~oauth/initiate",
"destination": "/auth",
"permanent": false
}
],
"rewrites": [
{
"source": "/((?!api/|assets/).*)",
"destination": "/index.html"
}
],
"functions": {
"api/predictions.ts": {
"maxDuration": 30,
"regions": ["iad1"]
},
"api/telegram-webhook.ts": {
"maxDuration": 30
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "frame-ancestors 'self' https://alienflow.space https://www.alienflow.space; object-src 'none'; base-uri 'self'; upgrade-insecure-requests"
},
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{
"key": "Permissions-Policy",
"value": "camera=(), microphone=(), geolocation=(self), payment=(), usb=(), interest-cohort=(), browsing-topics=()"
},
{ "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubDomains" },
{ "key": "Cross-Origin-Opener-Policy", "value": "same-origin-allow-popups" }
]
},
{
"source": "/assets/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
]
}
]
}