Repository navigation
Expand file tree
/
Copy pathvercel.json
More file actions
109 lines (109 loc) · 3.61 KB
/
Copy pathvercel.json
File metadata and controls
109 lines (109 loc) · 3.61 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"version": 2,
"installCommand": "mkdir -p .vercel-corepack && corepack enable --install-directory \"$PWD/.vercel-corepack\" pnpm && PATH=\"$PWD/.vercel-corepack:$PATH\" pnpm install --frozen-lockfile --prefer-offline",
"buildCommand": "mkdir -p .vercel-corepack && corepack enable --install-directory \"$PWD/.vercel-corepack\" pnpm && PATH=\"$PWD/.vercel-corepack:$PATH\" pnpm build:release",
"outputDirectory": "dist/Patcher/browser",
"ignoreCommand": "bash scripts/build/vercel-ignore-build.sh",
"routes": [
{
"src": "^/(.*)$",
"headers": {
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Permissions-Policy": "camera=(), microphone=(), geolocation=(), payment=()",
"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-inline' https://eu-assets.i.posthog.com https://challenges.cloudflare.com; frame-src https://challenges.cloudflare.com; worker-src blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https://c5.patreon.com https://*.supabase.co https://supabase.com https://images.patcher.xyz https://supabase.patcher.xyz; connect-src 'self' https://images.patcher.xyz https://*.supabase.co wss://*.supabase.co https://supabase.patcher.xyz wss://supabase.patcher.xyz https://eu.i.posthog.com https://eu-assets.i.posthog.com https://*.ingest.us.sentry.io https://*.ingest.sentry.io; frame-ancestors 'none'; object-src 'none'; base-uri 'self';"
},
"continue": true
},
{
"src": "^/$",
"headers": {
"Cache-Control": "no-store, max-age=0"
},
"continue": true
},
{
"src": "^/index\\.html$",
"headers": {
"Cache-Control": "no-store, max-age=0"
},
"continue": true
},
{
"src": "^/index\\.csr\\.html$",
"headers": {
"Cache-Control": "no-store, max-age=0"
},
"continue": true
},
{
"src": "^/assets/font/(.*)$",
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
},
"continue": true
},
{
"src": "^/assets/favicon/(.*)$",
"headers": {
"Cache-Control": "public, max-age=604800, stale-while-revalidate=604800"
},
"continue": true
},
{
"src": "^/assets/json/lottie/(.*)$",
"headers": {
"Cache-Control": "public, max-age=604800, stale-while-revalidate=604800"
},
"continue": true
},
{
"src": "^/assets/png/(.*)$",
"headers": {
"Cache-Control": "public, max-age=604800, stale-while-revalidate=604800"
},
"continue": true
},
{
"src": "^/assets/screenshots/(.*)$",
"headers": {
"Cache-Control": "public, max-age=604800, stale-while-revalidate=604800"
},
"continue": true
},
{
"src": "^/assets/svg/(.*)$",
"headers": {
"Cache-Control": "public, max-age=604800, stale-while-revalidate=604800"
},
"continue": true
},
{
"src": "/sitemap.xml",
"dest": "/api/sitemap"
},
{
"src": "/",
"dest": "/index.csr.html"
},
{
"src": "/__patcher_chunk_recovery/(.*)",
"dest": "/index.csr.html"
},
{
"handle": "filesystem"
},
{
"src": "/(.*)",
"dest": "/index.csr.html"
}
],
"functions": {
"api/ssr.mjs": {
"includeFiles": "dist/Patcher/**"
}
}
}