Skip to content

Commit

Permalink
Fix ssl issue in hardhat proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed May 16, 2024
1 parent 2ac6ef6 commit ca49969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ca49969

Please sign in to comment.