45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"hosting": {
|
|
"public": "dist",
|
|
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
|
"headers": [
|
|
{
|
|
"source": "**",
|
|
"headers": [
|
|
{
|
|
"key": "Permissions-Policy",
|
|
"value": "browsing-topics=(), interest-cohort=(), geolocation=(), microphone=(), camera=()"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "**/*.@(js|css|json|xml|rss|atom|svg|webp|jpg|jpeg|png|gif|ico|woff|woff2|ttf|eot)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "**/*.html",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=3600, must-revalidate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/pagefind/**",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|