2020-05-09 08:29:47 +08:00
|
|
|
{
|
|
|
|
"hosting": {
|
2022-02-08 01:35:09 +08:00
|
|
|
"public": "public",
|
2020-08-12 05:02:25 +08:00
|
|
|
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
|
|
|
"rewrites": [
|
2020-11-01 02:03:28 +08:00
|
|
|
{
|
|
|
|
"source": "/privacy-policy",
|
|
|
|
"destination": "/privacy-policy.html"
|
|
|
|
},
|
2022-04-06 07:32:37 +08:00
|
|
|
{
|
|
|
|
"source": "/terms-of-service",
|
|
|
|
"destination": "/terms-of-service.html"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "/security-policy",
|
|
|
|
"destination": "/security-policy.html"
|
|
|
|
},
|
2022-06-29 05:06:39 +08:00
|
|
|
{
|
|
|
|
"source": "/adtest",
|
|
|
|
"destination": "/adtest.html"
|
|
|
|
},
|
2020-08-12 05:02:25 +08:00
|
|
|
{
|
|
|
|
"source": "**",
|
|
|
|
"destination": "/index.html"
|
|
|
|
}
|
2020-05-09 08:29:47 +08:00
|
|
|
],
|
2020-05-10 01:39:23 +08:00
|
|
|
"cleanUrls": true,
|
2021-11-13 01:13:10 +08:00
|
|
|
"trailingSlash": false,
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"source": "**/*",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Content-Security-Policy",
|
|
|
|
"value": "frame-ancestors 'none'"
|
|
|
|
},
|
|
|
|
{ "key": "X-Frame-Options", "value": "DENY" }
|
|
|
|
]
|
2022-10-09 06:14:24 +08:00
|
|
|
},
|
|
|
|
{
|
2022-10-09 08:01:40 +08:00
|
|
|
"source": "/**",
|
2022-10-09 06:22:34 +08:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
2022-10-09 08:01:40 +08:00
|
|
|
"value": "no-cache, no-store, must-revalidate"
|
2022-10-09 06:22:34 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-12-03 02:50:48 +08:00
|
|
|
"source": "**/*.@(jpg|jpeg|gif|png|svg)",
|
2022-10-09 06:22:34 +08:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
2022-12-03 02:50:48 +08:00
|
|
|
"value": "max-age=31536000"
|
2022-10-09 06:22:34 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-10-10 02:52:34 +08:00
|
|
|
{
|
2022-12-03 02:50:48 +08:00
|
|
|
"source": "**/*.@(eot|otf|ttf|ttc|woff|woff2)",
|
2022-10-10 02:52:34 +08:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
2022-12-03 02:50:48 +08:00
|
|
|
"value": "max-age=31536000"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "**/*.@(json|wav|txt|css)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
|
|
|
"value": "max-age=3600"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "**/*.min.@(js|css)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
|
|
|
"value": "max-age=31536000"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "**/*.????????.@(js|css)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
|
|
|
"value": "max-age=31536000"
|
2022-10-10 02:52:34 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-10-09 06:22:34 +08:00
|
|
|
{
|
|
|
|
"source": "/service-worker.js",
|
2022-10-09 06:14:24 +08:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
|
|
|
"value": "no-cache, no-store, must-revalidate"
|
|
|
|
}
|
|
|
|
]
|
2021-11-13 01:13:10 +08:00
|
|
|
}
|
|
|
|
]
|
2020-05-09 08:29:47 +08:00
|
|
|
}
|
2020-08-12 05:02:25 +08:00
|
|
|
}
|