From c4f72eddd5f155c4557aefae96e44c6ef3d46dc6 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 18 Oct 2022 18:21:07 +0300 Subject: [PATCH] fix --- app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app.js b/app.js index 6c37748..be1349a 100644 --- a/app.js +++ b/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 = 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