1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Do not allow saving in the demo version

This commit is contained in:
tobspr
2020-05-19 15:03:13 +02:00
parent 8abe84b120
commit 9c4fe248db
18 changed files with 177 additions and 62 deletions

View File

@@ -5,8 +5,18 @@ 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;
export const IS_DEMO = G_IS_RELEASE;
const smoothCanvas = true;
export const THIRDPARTY_URLS = {
discord: "https://discord.gg/HN7EVzV",
github: "https://github.com/tobspr/shapez.io",
standaloneStorePage: "https://steam.shapez.io",
};
export const globalConfig = {
// Size of a single tile in Pixels.
// NOTICE: Update webpack.production.config too!