From 4a30933188e5520fa4164bbf9bd4e4e12d77b0ed Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 18 Oct 2022 14:16:27 +0300 Subject: [PATCH] test --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 7bf0803..61834df 100644 --- a/app.js +++ b/app.js @@ -42,8 +42,8 @@ app.use('/sfu', express.static(path.join(__dirname, 'public'))) // SSL cert for HTTPS access const options = { - key: fs.readFileSync(process.env.SERVER_KEY, 'utf-8'), - cert: fs.readFileSync(process.env.SERVER_CERT, 'utf-8'), + key: fs.readFileSync("./server/ssl/key.pem", 'utf-8'), + cert: fs.readFileSync("./server/ssl/cert.pem", 'utf-8'), } const httpsServer = https.createServer(options, app);