snakeoil-path

Gbp-Pq: Name snakeoil-path.patch
This commit is contained in:
OpenKylin Developers 2023-02-17 11:10:56 +08:00 committed by zhouganqing
parent 595e51a16d
commit bf2eb4e71d
1 changed files with 2 additions and 2 deletions

View File

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