Fix default values for SSL command line

This commit is contained in:
Cohee
2025-02-26 20:24:22 +02:00
parent a20928b02c
commit 813ec537cd

View File

@@ -138,15 +138,15 @@ export class CommandLineParser {
describe: 'Disables CSRF protection - NOT RECOMMENDED',
}).option('ssl', {
type: 'boolean',
default: false,
default: null,
describe: 'Enables SSL',
}).option('certPath', {
type: 'string',
default: 'certs/cert.pem',
default: null,
describe: 'Path to SSL certificate file',
}).option('keyPath', {
type: 'string',
default: 'certs/privkey.pem',
default: null,
describe: 'Path to SSL private key file',
}).option('whitelist', {
type: 'boolean',