updated readme

This commit is contained in:
AlecM33
2022-01-03 19:48:57 -05:00
parent 490313ec22
commit d46d5d3b35
4 changed files with 67 additions and 34 deletions

View File

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