Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local Magic Wormhole backend for e2e testing #189

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Fix WebSocket port for relay"
This reverts commit a44c121.
btlogy committed Feb 5, 2024

Verified

This commit was signed with the committer’s verified signature.
getchoo seth
commit 0f642710e675b960816dbe1c0e46f7974369171d
2 changes: 1 addition & 1 deletion client/scripts/devserver.ts
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ app.use(

app.use(
createProxyMiddleware("/relay", {
target: "http://relay:4200",
target: "http://relay:4002",
changeOrigin: true,
ws: true,
pathRewrite: { "^/relay": "" },
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ services:
image: leastauthority/magic-wormhole-relay:22.11.1
ports:
- "4001:4001" # TCP
- "4200:4200" # WebSocket
- "4002:4002" # WebSocket
client:
build: ./client
env_file: