mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
Fix #189 ca safety check is missing
This commit is contained in:
parent
54481095ce
commit
4b9af22c95
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ function afterConfigLoad() {
|
|||
let webServer;
|
||||
|
||||
if (addr.proto === 'https') { // https
|
||||
if (!config.https || !config.https.key || !config.https.cert) {
|
||||
if (!config.https || !config.https.key || !config.https.cert || !config.https.ca) {
|
||||
let conf_path = function(file) {
|
||||
if (!file) return config_path;
|
||||
return Path.resolve(Path.dirname(config_path), file);
|
||||
|
|
Loading…
Reference in a new issue