Skip to content

Commit 2b79fbe

Browse files
committed
Enable analytics on futurecoder.io
1 parent 6e960de commit 2b79fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/book/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (process.env.REACT_APP_USE_FIREBASE_EMULATORS && window.location.hostname ===
2626
}
2727

2828
let firebaseAnalytics;
29-
if (process.env.REACT_APP_ENABLE_FIREBASE_ANALYTICS) {
29+
if (window.location.hostname === "futurecoder.io") {
3030
firebaseAnalytics = firebase.analytics(firebaseApp);
3131
}
3232

0 commit comments

Comments
 (0)