LINXD-2222: Removed requestCert and rejectedUnauthorized from server options
This commit is contained in:
parent
be396e1047
commit
ac078e72ff
2
app.js
2
app.js
@ -44,8 +44,6 @@ app.use('/sfu', express.static(path.join(__dirname, 'public')))
|
||||
const options = {
|
||||
key: fs.readFileSync('./server/ssl/key.pem', 'utf-8'),
|
||||
cert: fs.readFileSync('./server/ssl/cert.pem', 'utf-8'),
|
||||
requestCert: false,
|
||||
rejectUnauthorized: false
|
||||
}
|
||||
|
||||
const httpsServer = https.createServer(options, app);
|
||||
|
Loading…
Reference in New Issue
Block a user