magne4000 / quassel-webserver

A web server/client for Quassel
MIT License
210 stars 38 forks source link

[Bug] All command args being ignored #310

Closed thespad closed 12 months ago

thespad commented 12 months ago

Since https://github.com/magne4000/quassel-webserver/pull/309 was merged, all commandline args (--config, --port, etc) are being ignored on startup and the default values being used instead.

i.e. running node app.js -p 12345 still results in:

quassel-webserver listening for https connections on port 64443

and running node app.js --config /home/user/settings-user.cjs still results in:

WARNING: You should create a custom settings file -> cp settings.cjs settings-user.cjs
SETTINGS: Using /app/quassel-web/settings.cjs

Environment:

Alpine 3.18.4 Node.js v20.8.1