LINXD-2222: Update

This commit is contained in:
Sergiu Toma 2022-09-19 23:12:24 +03:00
parent ae39a45f6d
commit cb5716dd5c
1 changed files with 3 additions and 1 deletions

4
app.js
View File

@ -48,7 +48,9 @@ app.use('/sfu', express.static(path.join(__dirname, 'public')))
// SSL cert for HTTPS access
const options = {
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,
rejectUnauthorized: false
}
// const httpsServer = https.createServer(options, app);