dissalow local run

This commit is contained in:
Azgaar 2022-02-06 01:04:11 +03:00 committed by Peter
parent 845245130f
commit 21f95d4b1f
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
const version = "1.662"; // generator version
document.title += " v" + version;
// Switches to disable/enable logging features
// switches to disable/enable logging features
const PRODUCTION = location.hostname && location.hostname !== "localhost" && location.hostname !== "127.0.0.1";
const DEBUG = localStorage.getItem("debug");
const INFO = DEBUG || !PRODUCTION;