mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 13:38:27 -04:00
72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
{
|
|
"hosting": {
|
|
"public": "public",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"database.rules.json",
|
|
"package.json",
|
|
"Gruntfile.js",
|
|
"README.md",
|
|
".DS_Store",
|
|
"**/node_modules/**",
|
|
"**/bower_components/**",
|
|
"/scripts/.eslint.rc"
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "**/*",
|
|
"headers": [{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "**/",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=180"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-UA-Compatible",
|
|
"value": "ie=edge"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source" : "**/*.@(jpg|jpeg|gif|png|ico)",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=604800"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "**/*.@(css|js)",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=86400"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "404.html",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=300"
|
|
}]
|
|
}
|
|
]
|
|
}
|
|
}
|