LINXD-2222: Removed requestCert and rejectedUnauthorized from server options

This commit is contained in:
Sergiu Toma 2022-09-20 14:15:54 +03:00
parent be396e1047
commit ac078e72ff

2
app.js
View File

@ -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);