|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
import { queryParamOptions } from "./query_parameters";
|
|
|
|
|
|
|
|
|
|
export const IS_DEBUG =
|
|
|
|
|
G_IS_DEV &&
|
|
|
|
|
typeof window !== "undefined" &&
|
|
|
|
@ -5,9 +7,10 @@ export const IS_DEBUG =
|
|
|
|
|
(window.location.host.indexOf("localhost:") >= 0 || window.location.host.indexOf("192.168.0.") >= 0) &&
|
|
|
|
|
window.location.search.indexOf("nodebug") < 0;
|
|
|
|
|
|
|
|
|
|
export const IS_DEMO =
|
|
|
|
|
(G_IS_PROD && !G_IS_STANDALONE) ||
|
|
|
|
|
(typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0);
|
|
|
|
|
export const IS_DEMO = queryParamOptions.fullVersion
|
|
|
|
|
? false
|
|
|
|
|
: (G_IS_PROD && !G_IS_STANDALONE) ||
|
|
|
|
|
(typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0);
|
|
|
|
|
|
|
|
|
|
const smoothCanvas = true;
|
|
|
|
|
|
|
|
|
|