Skip to content

Commit

Permalink
Fix the proxy and use it for the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Feb 2, 2024
1 parent d9208d5 commit 0b67c52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
EOF
cat <<EOF >> ./client/.env
NODE_ENV=development
MAILBOX_URL="wss://mailbox.stage.mw.leastauthority.com/v1"
RELAY_URL="wss://relay.stage.mw.leastauthority.com"
MAILBOX_URL="wss://client:8080/mailbox"
RELAY_URL="wss://client:8080/relay"
EOF
printf "Client .env:\n"
cat ./client/.env
Expand Down
2 changes: 1 addition & 1 deletion client/scripts/devserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.use(

app.use(
createProxyMiddleware("/relay", {
target: "http://relay:4002",
target: "http://relay:4200",
changeOrigin: true,
ws: true,
pathRewrite: { "^/relay": "" },
Expand Down

0 comments on commit 0b67c52

Please sign in to comment.