Created
June 24, 2018 02:08
-
-
Save 509dave16/784ec7df19d6e5b22b3ec41121177c3d to your computer and use it in GitHub Desktop.
Example firebase config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hosting": { | |
"public": "www", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"destination": "/index.html" | |
} | |
], | |
"headers": [ | |
{ | |
"source": "/build/app/**", | |
"headers": [ | |
{ | |
"key": "Link", | |
"value": "public, max-age=31536000" | |
} | |
] | |
}, | |
{ | |
"source": "sw.js", | |
"headers": [ | |
{ | |
"key": "Cache-Control", | |
"value": "no-cache" | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment