1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-14 03:35:32 -04:00

enable 404 error

This commit is contained in:
2018-03-20 17:16:33 -04:00
parent 1882d5b5b1
commit ab630212f7

View File

@@ -1,10 +1,6 @@
{ {
"hosting": { "hosting": {
"public": "public", "public": "public",
"rewrites": [ {
"source": "**",
"destination": "/index.html"
}],
"headers": [ "headers": [
{ {
"source": "**/*", "source": "**/*",
@@ -51,6 +47,13 @@
"key" : "Cache-Control", "key" : "Cache-Control",
"value" : "max-age=86400" "value" : "max-age=86400"
}] }]
},
{
"source" : "404.html",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=300"
}]
} }
] ]
} }