parent
595e51a16d
commit
bf2eb4e71d
|
@ -27,8 +27,8 @@ const req = (opts: https.RequestOptions): Promise<http.IncomingMessage> => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const sslOptions = {
|
const sslOptions = {
|
||||||
key: fs.readFileSync(__dirname + '/ssl-cert-snakeoil.key'),
|
key: fs.readFileSync('test/ssl-cert-snakeoil.key'),
|
||||||
cert: fs.readFileSync(__dirname + '/ssl-cert-snakeoil.pem')
|
cert: fs.readFileSync('test/ssl-cert-snakeoil.pem')
|
||||||
};
|
};
|
||||||
|
|
||||||
function json(res: http.IncomingMessage): Promise<any> {
|
function json(res: http.IncomingMessage): Promise<any> {
|
||||||
|
|
Loading…
Reference in New Issue