mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2025-07-12 14:01:01 +00:00
Move demoMode to config.json
This commit is contained in:
4
server.js
Normal file → Executable file
4
server.js
Normal file → Executable file
@ -19,7 +19,9 @@ var numberRecieved = "";
|
||||
var timeRecieved = "";
|
||||
var color = 0;
|
||||
|
||||
module.exports.demoMode = 1;
|
||||
module.exports.demoMode = function () {
|
||||
return config('debug').chain().find({ param: 'demoMode' }).value()['value'];
|
||||
};
|
||||
|
||||
// utility function for ucs2 decode
|
||||
function ucs2Parse(ucs2){
|
||||
|
Reference in New Issue
Block a user