Skip to content

Commit f27f1c2

Browse files
author
Ryan Graham
committed
Assigned --cacert CLI argument to correct options property
1 parent 2f02d0c commit f27f1c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/webpack-dev-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function processOptions(wpOpt) {
221221
options.key = fs.readFileSync(path.resolve(argv["key"]));
222222

223223
if(argv["cacert"])
224-
options.cacert = fs.readFileSync(path.resolve(argv["cacert"]));
224+
options.ca = fs.readFileSync(path.resolve(argv["cacert"]));
225225

226226
if(argv["inline"] === false)
227227
options.inline = false;

0 commit comments

Comments
 (0)