Skip to content

Commit 93876ce

Browse files
committed
added some indicators to show if its the dev project or its hosted locally
1 parent 03dda6f commit 93876ce

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

public/js/script.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,17 @@ $(document).keydown((event) => {
10451045
loadConfigFromCookie();
10461046
getReleasesFromGitHub();
10471047

1048+
if (firebase.app().options.projectId === "monkey-type-dev-67af4") {
1049+
$("#top .logo .bottom").text("monkey-dev");
1050+
$("head title").text("Monkey Dev")
1051+
}
1052+
1053+
if (window.location.hostname === "localhost") {
1054+
$("#top .logo .top").text("localhost");
1055+
$("head title").text($("head title").text() + " (localhost)");
1056+
1057+
}
1058+
10481059
$(document).ready(() => {
10491060
$('body').css('transition', '.25s');
10501061
restartTest();

0 commit comments

Comments
 (0)