mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
add second web server, work around docker compose bug
This commit is contained in:
@@ -35,7 +35,7 @@ const ServerBootstrapper = {
|
||||
try {
|
||||
const args = Array.from(process.argv.map((arg) => arg.trim().toLowerCase()));
|
||||
const useHttps = args.includes('protocol=https');
|
||||
const port = process.env.PORT || args
|
||||
const port = process.env.WEB_PORT || args
|
||||
.filter((arg) => {
|
||||
return /port=\d+/.test(arg);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user