mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 18:08:28 -04:00
109 lines
2.8 KiB
JSON
109 lines
2.8 KiB
JSON
{
|
|
"hosting": {
|
|
"public": "public",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/.git/**"
|
|
],
|
|
"redirects": [
|
|
{
|
|
"source": "/powncer.mov",
|
|
"destination": "/powncer.mp4",
|
|
"type": 301
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "**",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "Strict-Transport-Security",
|
|
"value": "max-age=31536000; includeSubDomains; preload"
|
|
},
|
|
{
|
|
"key": "Expect-CT",
|
|
"value": "max-age=0, report-uri=https://jarvis.report-uri.com/r/d/ct/reportOnly"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=86400, public"
|
|
},
|
|
{
|
|
"key": "X-UA-Compatible",
|
|
"value": "IE=edge"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce"
|
|
},
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'self'; script-src 'self' stats.jarv.is 'sha256-TLAu2p9kt4LHt+sWwE0cvqq1Ok5LoGzRPrw7+mzhX00='; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self'; frame-src 'self'; connect-src 'self' jarvis.report-uri.com stats.jarv.is; upgrade-insecure-requests; report-uri https://jarvis.report-uri.com/r/d/csp/enforce"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "no-referrer-when-downgrade"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "SAMEORIGIN"
|
|
},
|
|
{
|
|
"key": "X-DNS-Prefetch-Control",
|
|
"value": "off"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "**/*.@(css|js|pdf)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=86400, public"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "**/*.@(jpg|jpeg|gif|png|ico|mov|mp4)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=2628000, public"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "**/*.@(ttf|otf|woff|woff2|svg|eot)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=31536000, public"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "jarvis.asc",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=0, no-cache, no-store"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "text/plain; charset=utf-8"
|
|
},
|
|
{
|
|
"key": "Content-Disposition",
|
|
"value": "inline; filename=\"jarvis.asc\""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|