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:
@@ -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"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user