diff --git a/apps/api/src/main.ts b/apps/api/src/main.ts index 996f83b12..cf031b58f 100644 --- a/apps/api/src/main.ts +++ b/apps/api/src/main.ts @@ -22,9 +22,9 @@ if (LOCAL_CERT && LOCAL_CERT_KEY) { }; server = https.createServer(ssl, app); httpProxy - .createServer({ + .createProxyServer({ target: { - host: 'localhost', + host: '127.0.0.1', port: 8545, }, ssl,