-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathvercel.json
More file actions
51 lines (51 loc) · 2.73 KB
/
Copy pathvercel.json
File metadata and controls
51 lines (51 loc) · 2.73 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "cd website && npm install && npm run build",
"outputDirectory": "website/dist",
"installCommand": "echo 'skipping root install, website/ has its own'",
"framework": null,
"redirects": [
{ "source": "/flash", "destination": "/apps/flash", "statusCode": 301 },
{ "source": "/docs", "destination": "/apps/docs", "statusCode": 301 },
{ "source": "/security", "destination": "/apps/security", "statusCode": 301 },
{ "source": "/verify", "destination": "/apps/verify", "statusCode": 301 },
{ "source": "/download", "destination": "/apps/flash", "statusCode": 301 },
{ "source": "/about", "destination": "/apps/about", "statusCode": 301 },
{ "source": "/terminal", "destination": "/apps/terminal", "statusCode": 301 },
{ "source": "/chat", "destination": "/apps/chat", "statusCode": 301 },
{ "source": "/hardware", "destination": "/apps/hardware", "statusCode": 301 },
{ "source": "/press", "destination": "/apps/press", "statusCode": 301 },
{ "source": "/changelog", "destination": "/apps/changelog", "statusCode": 301 },
{ "source": "/faq", "destination": "/apps/faq", "statusCode": 301 },
{ "source": "/files", "destination": "/apps/files", "statusCode": 301 }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "no-referrer" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=(), usb=(self)" },
{ "key": "Strict-Transport-Security", "value": "max-age=31536000; includeSubDomains; preload" },
{ "key": "Content-Security-Policy", "value": "default-src 'self'; img-src 'self' data: blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; frame-src 'self' https://docs.pai.direct; connect-src 'self' https://api.github.com; form-action 'self'; frame-ancestors 'self'; base-uri 'self'" },
{ "key": "Cross-Origin-Opener-Policy", "value": "same-origin" }
]
},
{
"source": "/imager.json",
"headers": [
{ "key": "Content-Type", "value": "application/json; charset=utf-8" },
{ "key": "Cache-Control", "value": "public, max-age=300, must-revalidate" },
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
},
{
"source": "/imager/pai-icon.png",
"headers": [
{ "key": "Content-Type", "value": "image/png" },
{ "key": "Cache-Control", "value": "public, max-age=300, must-revalidate" },
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
}
]
}