Skip to content

Commit 7eca5d8

Browse files
Update HTTPS certificate file paths in proxy.js
Signed-off-by: Pablo Mayrgundter <pablo.mayrgundter@gmail.com>
1 parent 27da504 commit 7eca5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/esbuild/proxy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export function createProxyServer(host, port, useHttps = false) {
1919

2020
const serverOptions = useHttps ?
2121
{
22-
key: fs.readFileSync(path.join(__dirname, './certificate/server.key')),
23-
cert: fs.readFileSync(path.join(__dirname, './certificate/server.cert')),
22+
key: fs.readFileSync(path.join(__dirname, './certificate/localhost-key.pem')),
23+
cert: fs.readFileSync(path.join(__dirname, './certificate/localhost.pem')),
2424
} :
2525
{}
2626

0 commit comments

Comments
 (0)