Skip to content

Commit

Permalink
Compiling scripts, reactivating Service Worker, switching Firebase co…
Browse files Browse the repository at this point in the history
…de back to original (was using test code for another hosting environment earlier).
  • Loading branch information
Jollus174 committed Jul 30, 2017
1 parent 4c0273f commit 4bad22a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
28 changes: 15 additions & 13 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,19 +576,21 @@ <h3>Town &amp; City</h3>
<link rel="stylesheet" href="./css/character-icons.css">
<script src="./js/vendor/jquery.animateNumber.min.js"></script>

<script src="https://www.gstatic.com/firebasejs/4.2.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyBAX45JuskaxHE7tPrP545fZdmDn9bBEvM",
authDomain: "ding-dong-pwa-testing.firebaseapp.com",
databaseURL: "https://ding-dong-pwa-testing.firebaseio.com",
projectId: "ding-dong-pwa-testing",
storageBucket: "",
messagingSenderId: "463034402074"
};
firebase.initializeApp(config);
</script>
<!-- Moving the Firebase initialisation codes to bottom, as they break all the JS scripts in Microsoft Edge browser -->
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase-app.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyA6XBopat0ka9TMeqYJrj7fFuRCjj8E3UU",
authDomain: "dingdong-pwa.firebaseapp.com",
databaseURL: "https://dingdong-pwa.firebaseio.com",
projectId: "dingdong-pwa",
storageBucket: "",
messagingSenderId: "77024238100"
};
firebase.initializeApp(config);
</script>

</body>

Expand Down
Loading

0 comments on commit 4bad22a

Please sign in to comment.