Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix firebase deploy settings

Amruth Pillai52e43638e7fd
diff --git a/.firebaserc b/.firebaserc
index 1e22713b0..19019b9b8 100644
--- a/.firebaserc
+++ b/.firebaserc
@@ -1,5 +1,14 @@
{
"projects": {
"default": "rx-resume"
+ },
+ "targets": {
+ "rx-resume": {
+ "hosting": {
+ "rxresume": [
+ "public"
+ ]
+ }
+ }
}
-}
+}
\ No newline at end of file
diff --git a/firebase.json b/firebase.json
index 90d85e983..647173d93 100644
--- a/firebase.json
+++ b/firebase.json
@@ -1,53 +1,13 @@
{
- "hosting": [
- {
- "target": "rxresume",
- "public": "public",
- "ignore": [
- "**/.*",
- "firebase.json",
- "**/node_modules/**"
- ],
- "headers": [
- {
- "source": "**/*",
- "headers": [
- {
- "key": "cache-control",
- "value": "cache-control: public, max-age=86400, must-revalidate"
- }
- ]
- },
- {
- "source": "static/**",
- "headers": [
- {
- "key": "cache-control",
- "value": "public, max-age=604800, immutable"
- }
- ]
- },
- {
- "source": "**/*.@(css|js|woff2|jpg|png)",
- "headers": [
- {
- "key": "cache-control",
- "value": "public, max-age=86400, immutable"
- }
- ]
- },
- {
- "source": "sw.js",
- "headers": [
- {
- "key": "cache-control",
- "value": "cache-control: public, max-age=86400, must-revalidate"
- }
- ]
- }
- ]
- }
- ],
+ "hosting": {
+ "target": "rxresume",
+ "public": "./public",
+ "ignore": [
+ "**/.*",
+ "firebase.json",
+ "**/node_modules/**"
+ ]
+ },
"emulators": {
"functions": {
"port": 5001