Fix https import
This commit is contained in:
parent
be5f97762a
commit
fce2f30648
7
app.js
7
app.js
@ -5,12 +5,7 @@ const app = express();
|
||||
const Server = require('socket.io');
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
let https;
|
||||
try {
|
||||
https = require('node:https');
|
||||
} catch (err) {
|
||||
console.log('https support is disabled!');
|
||||
}
|
||||
const https = require('node:https');
|
||||
const mediasoup = require('mediasoup');
|
||||
|
||||
let worker
|
||||
|
Loading…
Reference in New Issue
Block a user