mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
updated readme
This commit is contained in:
@@ -9,7 +9,7 @@ const ServerBootstrapper = {
|
||||
processCLIArgs: () => {
|
||||
try {
|
||||
let args = Array.from(process.argv.map((arg) => arg.trim().toLowerCase()));
|
||||
const useHttps = args.includes('https');
|
||||
const useHttps = args.includes('protocol=https');
|
||||
const port = process.env.PORT || args
|
||||
.filter((arg) => {
|
||||
return /port=\d+/.test(arg);
|
||||
|
||||
Reference in New Issue
Block a user