LINXD-2222: Update
This commit is contained in:
parent
ae39a45f6d
commit
cb5716dd5c
4
app.js
4
app.js
@ -48,7 +48,9 @@ app.use('/sfu', express.static(path.join(__dirname, 'public')))
|
|||||||
// SSL cert for HTTPS access
|
// SSL cert for HTTPS access
|
||||||
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,
|
||||||
|
rejectUnauthorized: false
|
||||||
}
|
}
|
||||||
|
|
||||||
// const httpsServer = https.createServer(options, app);
|
// const httpsServer = https.createServer(options, app);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user