Skip to content

Commit

Permalink
tinny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed May 20, 2018
1 parent a23907e commit 45012ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.js
Expand Up @@ -57,15 +57,15 @@ try {

if(config['key'].indexOf('/path/to/') === -1) {
if(key === 'ssl_key') {
ssl_key = fs.readFileSync(path.join(__dirname, resolveURL(config['ssl_key'])));
ssl_key = fs.readFileSync(path.join(__dirname, config['ssl_key']));
}

if(key === 'ssl_cert') {
ssl_cert = fs.readFileSync(path.join(__dirname, resolveURL(config['ssl_cert'])));
ssl_cert = fs.readFileSync(path.join(__dirname, config['ssl_cert']));
}

if(key === 'ssl_cabundle') {
ssl_cabundle = fs.readFileSync(path.join(__dirname, resolveURL(config['ssl_cabundle'])));
ssl_cabundle = fs.readFileSync(path.join(__dirname, config['ssl_cabundle']));
}
}
});
Expand Down

0 comments on commit 45012ff

Please sign in to comment.