WIP
This commit is contained in:
parent
03edd9c7e0
commit
6422c36644
6 changed files with 71 additions and 10 deletions
|
|
@ -16,7 +16,8 @@ if (!httpOnly) {
|
|||
try {
|
||||
options.https = {
|
||||
key: fs.readFileSync(options.certKeyPath),
|
||||
cert: fs.readFileSync(options.certPath)
|
||||
cert: fs.readFileSync(options.certPath),
|
||||
requestCert: true
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('Please configure your certificate.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue