mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix default values for SSL command line
This commit is contained in:
@@ -138,15 +138,15 @@ export class CommandLineParser {
|
|||||||
describe: 'Disables CSRF protection - NOT RECOMMENDED',
|
describe: 'Disables CSRF protection - NOT RECOMMENDED',
|
||||||
}).option('ssl', {
|
}).option('ssl', {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: null,
|
||||||
describe: 'Enables SSL',
|
describe: 'Enables SSL',
|
||||||
}).option('certPath', {
|
}).option('certPath', {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'certs/cert.pem',
|
default: null,
|
||||||
describe: 'Path to SSL certificate file',
|
describe: 'Path to SSL certificate file',
|
||||||
}).option('keyPath', {
|
}).option('keyPath', {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'certs/privkey.pem',
|
default: null,
|
||||||
describe: 'Path to SSL private key file',
|
describe: 'Path to SSL private key file',
|
||||||
}).option('whitelist', {
|
}).option('whitelist', {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
Reference in New Issue
Block a user