From df5e306df67a55266e25e80f29e33991aad4a7e9 Mon Sep 17 00:00:00 2001 From: jakubSzuminski Date: Mon, 25 Mar 2024 16:20:46 +0100 Subject: [PATCH] Fixed #307, ssl now works, we pass key and cert to the https. --- lib/server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/server.js b/lib/server/server.js index 11c4e784..ebda9564 100644 --- a/lib/server/server.js +++ b/lib/server/server.js @@ -137,7 +137,7 @@ export const startServer = async (serverConfig) => { if (key && cert) { // Main server instance (HTTPS) - const httpsServer = https.createServer(app); + const httpsServer = https.createServer({ key, cert }, app); // Attach error handlers and listen to the server attachErrorHandlers(httpsServer);