diff --git a/.firebaserc b/.firebaserc index aa32ce1..9557a23 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,6 +1,7 @@ { "projects": { - "default": "wardrobe-inventory-15a18" + "default": "wardrobe-inventory-15a18", + "wardrobe-inventory-15a18": "wardrobe-inventory-15a18" }, "targets": { "wardrobe-inventory-15a18": { @@ -11,4 +12,4 @@ } } } -} +} \ No newline at end of file diff --git a/firebase.json b/firebase.json index c38f9e8..3b80bf2 100644 --- a/firebase.json +++ b/firebase.json @@ -8,6 +8,12 @@ "firebase.json", "**/.*", "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } ] } } diff --git a/src/environments/environment.development.ts b/src/environments/environment.development.ts index a65bbec..2c3e967 100644 --- a/src/environments/environment.development.ts +++ b/src/environments/environment.development.ts @@ -1,23 +1,23 @@ export const environment = { production: false, - firebase: { - apiKey: "AIzaSyCfC3ScFCaDL8274ZTXuxeC7jgJjYjVO8g", - authDomain: "wardrobe-inventory-15a18.firebaseapp.com", - databaseURL: "https://wardrobe-inventory-15a18-default-rtdb.firebaseio.com", - projectId: "wardrobe-inventory-15a18", - storageBucket: "wardrobe-inventory-15a18.appspot.com", - messagingSenderId: "689431962919", - appId: "1:689431962919:web:fea34a4af078f59083f502", - measurementId: "G-2YS73Y52BD" - } // firebase: { - // projectId: 'wardrobe-inventory-42f37', - // appId: '1:115492683025:web:d8a870251576338824a0b0', - // databaseURL: 'https://wardrobe-inventory-42f37-default-rtdb.asia-southeast1.firebasedatabase.app', - // storageBucket: 'wardrobe-inventory-42f37.appspot.com', - // apiKey: 'AIzaSyCIOQuCA7R0V6EbvKsNAOytqdPeTjOprtA', - // authDomain: 'wardrobe-inventory-42f37.firebaseapp.com', - // messagingSenderId: '115492683025', - // measurementId: 'G-J0N9DJFCQE' + // apiKey: "AIzaSyCfC3ScFCaDL8274ZTXuxeC7jgJjYjVO8g", + // authDomain: "wardrobe-inventory-15a18.firebaseapp.com", + // databaseURL: "https://wardrobe-inventory-15a18-default-rtdb.firebaseio.com", + // projectId: "wardrobe-inventory-15a18", + // storageBucket: "wardrobe-inventory-15a18.appspot.com", + // messagingSenderId: "689431962919", + // appId: "1:689431962919:web:fea34a4af078f59083f502", + // measurementId: "G-2YS73Y52BD" // } + firebase: { + projectId: 'wardrobe-inventory-42f37', + appId: '1:115492683025:web:d8a870251576338824a0b0', + databaseURL: 'https://wardrobe-inventory-42f37-default-rtdb.asia-southeast1.firebasedatabase.app', + storageBucket: 'wardrobe-inventory-42f37.appspot.com', + apiKey: 'AIzaSyCIOQuCA7R0V6EbvKsNAOytqdPeTjOprtA', + authDomain: 'wardrobe-inventory-42f37.firebaseapp.com', + messagingSenderId: '115492683025', + measurementId: 'G-J0N9DJFCQE' + } };