LINXD-2222-debugging-for-i-os #7
4
app.js
4
app.js
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user