Add maintenance mode and update to gracefully exit process on signal
This commit is contained in:
@@ -78,10 +78,12 @@ function getserverurl() {
|
||||
}
|
||||
|
||||
var version = '0.4.0';
|
||||
var maintenance = config.maintenance || false;
|
||||
var cwd = path.join(__dirname, '..');
|
||||
|
||||
module.exports = {
|
||||
version: version,
|
||||
maintenance: maintenance,
|
||||
debug: debug,
|
||||
urlpath: urlpath,
|
||||
port: port,
|
||||
|
||||
Reference in New Issue
Block a user