Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Saving firebase.json configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Fahmi Jabbar committed Dec 21, 2021
1 parent ddaf029 commit 14d94fb
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"hosting": {
"public": ".",
"headers": [
{
"source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
},
{
"source": "**/*.@(js|css)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=604800"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=604800"
}
]
}
],
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 14d94fb

Please sign in to comment.