mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
* Don't exit if using https and pfx is enabled * Fix indentation
This commit is contained in:
parent
0af9ecbfa1
commit
315a3b2699
1 changed files with 1 additions and 1 deletions
2
src/lib/bootstrap.js
vendored
2
src/lib/bootstrap.js
vendored
|
@ -81,7 +81,7 @@ function startVerdaccio(config: any,
|
|||
let webServer;
|
||||
if (addr.proto === 'https') {
|
||||
// https must either have key cert and ca or a pfx and (optionally) a passphrase
|
||||
if (!config.https || !config.https.key || !config.https.cert || !config.https.ca) {
|
||||
if (!config.https || !((config.https.key && config.https.cert && config.https.ca) || config.https.pfx)) {
|
||||
displayHTTPSWarning(configPath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue