mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:28:27 -04:00
93 lines
2.5 KiB
JSON
93 lines
2.5 KiB
JSON
{
|
|
"hosting": {
|
|
"public": "public",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"Gruntfile.js",
|
|
"README.md",
|
|
"**/.*",
|
|
"**/.git/**",
|
|
"**/node_modules/**",
|
|
"**/bower_components/**"
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "**",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block; report=https://jakejarvis.report-uri.com/r/d/xss/enforce"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "SAMEORIGIN"
|
|
},
|
|
{
|
|
"key": "X-DNS-Prefetch-Control",
|
|
"value": "off"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "no-referrer-when-downgrade"
|
|
},
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://www.google-analytics.com https://ssl.google-analytics.com https://ajax.googleapis.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https:; font-src 'self' https://fonts.gstatic.com; frame-src 'self' https://www.youtube.com https://drive.google.com https://www.scribd.com; connect-src 'self' https://jakejarvis.report-uri.com; report-uri https://jakejarvis.report-uri.com/r/d/csp/enforce;"
|
|
},
|
|
{
|
|
"key": "Expect-CT",
|
|
"value": "max-age=0, report-uri=https://jakejarvis.report-uri.com/r/d/ct/reportOnly"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source" : "**/",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=3600"
|
|
},
|
|
{
|
|
"key": "X-UA-Compatible",
|
|
"value": "IE=edge"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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" : "**/*.@(ttf|otf|woff|woff2|svg|eot)",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=2628000"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "404.html",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=3600"
|
|
}]
|
|
}
|
|
]
|
|
}
|
|
}
|