updates for deployment

This commit is contained in:
AlecM33
2022-05-12 12:08:16 -04:00
parent 42291b4f59
commit bf2cac2595
6 changed files with 33 additions and 30 deletions

View File

@@ -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);
})