mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-16 13:35:45 -04:00
firebase hosting config
This commit is contained in:
1 parent
0782000454
commit
0b56eda8e0
3 files changed
+73
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"projects": {
|
||||||
|
"default": "jakejarvis-com"
|
||||||
|
}
|
||||||
|
}
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
.vscode/
|
||||||
|
.npm
|
||||||
|
node_modules
|
||||||
|
lib
|
||||||
|
firebase-debug.log
|
||||||
|
npm-debug.log
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
||||||
|
.npmrc
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"hosting": {
|
||||||
|
"public": "public",
|
||||||
|
"rewrites": [ {
|
||||||
|
"source": "**",
|
||||||
|
"destination": "/index.html"
|
||||||
|
}],
|
||||||
|
"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"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user