LINXD-2222: Update

This commit is contained in:
Sergiu Toma 2022-09-19 23:38:44 +03:00
parent 287693ec65
commit 9bfacaa439

4
app.js
View File

@ -48,8 +48,8 @@ app.use('/sfu', express.static(path.join(__dirname, 'public')))
const options = { const options = {
key: fs.readFileSync('./server/ssl/key.pem', 'utf-8'), key: fs.readFileSync('./server/ssl/key.pem', 'utf-8'),
cert: fs.readFileSync('./server/ssl/cert.pem', 'utf-8'), cert: fs.readFileSync('./server/ssl/cert.pem', 'utf-8'),
requestCert: false, // requestCert: false,
rejectUnauthorized: false // rejectUnauthorized: false
} }
const httpsServer = https.createServer(options, app) const httpsServer = https.createServer(options, app)