kopia lustrzana https://github.com/dariusk/express-activitypub
autoenctryp settings
rodzic
f68f796582
commit
0c73ddbb40
2
index.js
2
index.js
|
@ -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 })
|
||||||
|
|
Ładowanie…
Reference in New Issue