This commit is contained in:
Sergiu Toma 2022-10-18 18:21:07 +03:00
parent 6e4ceb9977
commit c4f72eddd5

7
app.js
View File

@ -5,12 +5,7 @@ const app = express();
const Server = require('socket.io');
const path = require('node:path');
const fs = require('node:fs');
let https = require('https');
try {
https = require('node:https');
} catch (err) {
console.log('https support is disabled!');
}
const https = require('https');
const mediasoup = require('mediasoup');
let worker