-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
40 lines (40 loc) · 1.62 KB
/
Copy pathvercel.json
File metadata and controls
40 lines (40 loc) · 1.62 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": null,
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- src/mobile src/renderer src/shared src/main src/supervisor resources/mobile-ssh-runtime scripts vercel.json package.json pnpm-lock.yaml",
"installCommand": "pnpm install --frozen-lockfile --ignore-scripts --filter poracode... --config.node-linker=isolated --config.enable-global-virtual-store=false",
"buildCommand": "node scripts/vercel-build-mobile.mjs",
"outputDirectory": "dist/mobile",
"rewrites": [{ "source": "/:path*", "destination": "/mobile.html" }],
"headers": [
{
"source": "/service-worker.js",
"headers": [{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }]
},
{
"source": "/manifest.webmanifest",
"headers": [{ "key": "Content-Type", "value": "application/manifest+json; charset=utf-8" }]
},
{
"source": "/.well-known/apple-app-site-association",
"headers": [{ "key": "Content-Type", "value": "application/json" }]
},
{
"source": "/assets/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
},
{
"source": "/icons/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=604800" }]
},
{
"source": "/(.*)",
"headers": [
{ "key": "X-Robots-Tag", "value": "noindex, nofollow" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
}
]
}