forked from lbsadmin/nodeMessageBoard
Move demoMode to config.json - Correction
This commit is contained in:
parent
1d4301ac8d
commit
d1a99e9f65
2
app.js
2
app.js
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user