2025-11-07 12:18:42 +01:00
|
|
|
{
|
|
|
|
|
"rewrites": [
|
2026-03-08 12:02:53 +08:00
|
|
|
{ "source": "/(.*)", "destination": "/index.html" }
|
2026-01-30 12:28:41 +08:00
|
|
|
],
|
2026-03-01 14:26:29 +08:00
|
|
|
"headers": [
|
2026-03-17 16:20:13 +08:00
|
|
|
{
|
|
|
|
|
"source": "/",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/index.html",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/sw.js",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/registerSW.js",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/version.json",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-03-01 14:26:29 +08:00
|
|
|
{
|
|
|
|
|
"source": "/(.*)",
|
|
|
|
|
"headers": [
|
|
|
|
|
{ "key": "X-Content-Type-Options", "value": "nosniff" },
|
|
|
|
|
{ "key": "X-Frame-Options", "value": "DENY" },
|
|
|
|
|
{ "key": "Referrer-Policy", "value": "no-referrer" },
|
|
|
|
|
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=()" },
|
|
|
|
|
{ "key": "X-DNS-Prefetch-Control", "value": "off" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-03-19 13:41:03 +08:00
|
|
|
"installCommand": "HUSKY=0 corepack yarn install --immutable",
|
|
|
|
|
"buildCommand": "corepack yarn build",
|
2026-01-30 12:28:41 +08:00
|
|
|
"outputDirectory": "build",
|
|
|
|
|
"framework": "vite"
|
2025-11-07 12:18:42 +01:00
|
|
|
}
|