From 813ec537cd1c8c41d2409559fd46a3d50b9ada84 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 26 Feb 2025 20:24:22 +0200 Subject: [PATCH] Fix default values for SSL command line --- src/command-line.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command-line.js b/src/command-line.js index da0a4d5eb..002f46926 100644 --- a/src/command-line.js +++ b/src/command-line.js @@ -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',