fix(config): use __dirname to resolve path to ssl certs

This commit is contained in:
simon 2020-03-02 09:58:07 +01:00
parent 5519391aa3
commit 7a28a0dc6b

View File

@ -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,