mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
updates for deployment
This commit is contained in:
@@ -18,7 +18,7 @@ const ServerBootstrapper = {
|
||||
.map((arg) => {
|
||||
return /port=(\d+)/.exec(arg)[1];
|
||||
})[0] || 5000;
|
||||
const logLevel = process.env.LOG_LEVEL || args
|
||||
const logLevel = args
|
||||
.filter((arg) => {
|
||||
return /loglevel=[a-zA-Z]+/.test(arg);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user