From 7a28a0dc6bfbae307765e03f4b15c57c84fa0dc2 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 2 Mar 2020 09:58:07 +0100 Subject: [PATCH] fix(config): use __dirname to resolve path to ssl certs --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index c91d43a..3c84041 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,7 @@ const fs = require('fs'); const path = require('path'); -const SSL_CERT_DIRECTORY = './ssl/cert'; +const SSL_CERT_DIRECTORY = path.join(__dirname, './ssl/cert'); module.exports = { port: 1812,