From fce2f30648a8feda83d5b59546bbbfc407f74c81 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 18 Oct 2022 18:07:04 +0300 Subject: [PATCH] Fix https import --- app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app.js b/app.js index 7bf0803..3b72bc7 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; -try { - https = require('node:https'); -} catch (err) { - console.log('https support is disabled!'); -} +const https = require('node:https'); const mediasoup = require('mediasoup'); let worker