autoenctryp settings
This commit is contained in:
parent
f68f796582
commit
0c73ddbb40
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -66,7 +66,7 @@ app.use(function (err, req, res, next) {
|
|||
})
|
||||
|
||||
const server = process.env.NODE_ENV === 'production'
|
||||
? AutoEncrypt.https.createServer(app)
|
||||
? AutoEncrypt.https.createServer({ domains: ['gup.pe'] }, app)
|
||||
: https.createServer(sslOptions, app)
|
||||
|
||||
client.connect({ useNewUrlParser: true })
|
||||
|
|
Loading…
Reference in a new issue