Open vivtony00 opened 7 years ago
var firebaseInitalized =false;
function initalizeFirebase() {
// Initialize Firebase
var config = {
apiKey: "AIzaSyAquft9UUOycldBxHWyG2toWPEsUgbOW34",
authDomain: "team-long-time-no-name.firebaseapp.com",
databaseURL: "https://team-long-time-no-name.firebaseio.com",
storageBucket: "team-long-time-no-name.appspot.com",
messagingSenderId: "7595823211"
};
if(firebaseInitalized==false){
firebase.initializeApp(config);
firebaseInitalized=true;
}
}
a variable was added to solve the problem in site.js any better solution ?
we can temporarily use this as it should work pretty well right?
will shown when multiple call of initalizeFirebase() any solution?