From 7e0272077b033fcb08c12211af86b91c4d52c7d0 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Thu, 16 Sep 2021 00:13:28 +0800 Subject: [PATCH] cleanup demo mode code --- server/server.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/server.js b/server/server.js index 1b423736..4eed8d47 100644 --- a/server/server.js +++ b/server/server.js @@ -62,13 +62,6 @@ const port = parseInt(process.env.PORT || args.port || 3001); const sslKey = process.env.SSL_KEY || args["ssl-key"] || undefined; const sslCert = process.env.SSL_CERT || args["ssl-cert"] || undefined; -// Demo Mode? -const demoMode = args["demo"] || false; - -if (demoMode) { - console.log("==== Demo Mode ===="); -} - // Data Directory (must be end with "/") Database.dataDir = process.env.DATA_DIR || args["data-dir"] || "./data/"; Database.path = Database.dataDir + "kuma.db";