Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change config to point at a different instance of Firestore temporarily to work around exceeded quota limits #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/lib/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import "firebase/firestore";

// Initalize Firebase.
// These details will need to be replaced with the project specific env vars at the start of each new cohort.
/* production db
var firebaseConfig = {
apiKey: "AIzaSyBRIyX-A9oiNcN124_i35C0m-aodSkQFSY",
authDomain: "tcl-4-smart-shopping-list.firebaseapp.com",
Expand All @@ -14,6 +15,18 @@ var firebaseConfig = {
messagingSenderId: "725896730402",
appId: "1:725896730402:web:f571876e80350ab17ff77b"
};
*/

/* temporary db to work around quota limits */
var firebaseConfig = {
apiKey: "AIzaSyBYZ-4oiJyhekU6J48UilDFU_BAJFNSxEw",
authDomain: "tcl-4-backup.firebaseapp.com",
databaseURL: "https://tcl-4-backup.firebaseio.com",
projectId: "tcl-4-backup",
storageBucket: "tcl-4-backup.appspot.com",
messagingSenderId: "179377903051",
appId: "1:179377903051:web:e34e51eb8166911339924e"
};

let fb = firebase.initializeApp(firebaseConfig);

Expand Down