fix(config): use __dirname to resolve path to ssl certs
This commit is contained in:
parent
5519391aa3
commit
7a28a0dc6b
@ -2,7 +2,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const SSL_CERT_DIRECTORY = './ssl/cert';
|
const SSL_CERT_DIRECTORY = path.join(__dirname, './ssl/cert');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
port: 1812,
|
port: 1812,
|
||||||
|
Loading…
Reference in New Issue
Block a user