autoenctryp settings

This commit is contained in:
Will Murphy 2021-02-17 21:56:38 -05:00
parent f68f796582
commit 0c73ddbb40

View file

@ -66,7 +66,7 @@ app.use(function (err, req, res, next) {
}) })
const server = process.env.NODE_ENV === 'production' const server = process.env.NODE_ENV === 'production'
? AutoEncrypt.https.createServer(app) ? AutoEncrypt.https.createServer({ domains: ['gup.pe'] }, app)
: https.createServer(sslOptions, app) : https.createServer(sslOptions, app)
client.connect({ useNewUrlParser: true }) client.connect({ useNewUrlParser: true })