1
0

Move demoMode to config.json - Correction

This commit is contained in:
eorg_oz 2017-03-06 18:12:48 +01:00
parent 1d4301ac8d
commit d1a99e9f65

2
app.js
View File

@ -14,7 +14,7 @@ handle["/js/jquery-ui.js"] = requestHandlers.sendJqueryUI;
handle["/css/bootstrap.min.css"] = requestHandlers.sendBootstrap; handle["/css/bootstrap.min.css"] = requestHandlers.sendBootstrap;
handle["/clear"] = requestHandlers.sendClear; handle["/clear"] = requestHandlers.sendClear;
if(server.demoMode())){ if(server.demoMode()){
handle["/demo"] = requestHandlers.sendDemo; handle["/demo"] = requestHandlers.sendDemo;
}else{ }else{
console.log("ERROR: Demo mode not active"); console.log("ERROR: Demo mode not active");