diff --git a/src/wormhole/cli/public_relay.py b/src/wormhole/cli/public_relay.py index 7d82c66..65c48a7 100644 --- a/src/wormhole/cli/public_relay.py +++ b/src/wormhole/cli/public_relay.py @@ -1,5 +1,5 @@ # This is a relay I run on a personal server. If it gets too expensive to # run, I'll shut it down. -RENDEZVOUS_RELAY = u"ws://wormhole-relay.petmail.org:4000/" +RENDEZVOUS_RELAY = u"ws://wormhole-relay.petmail.org:4000/v1" TRANSIT_RELAY = u"tcp:wormhole-transit-relay.petmail.org:4001" diff --git a/src/wormhole/server/server.py b/src/wormhole/server/server.py index 0e65ee4..faa598f 100644 --- a/src/wormhole/server/server.py +++ b/src/wormhole/server/server.py @@ -48,8 +48,9 @@ class RelayServer(service.MultiService): rendezvous = Rendezvous(db, welcome, blur_usage) rendezvous.setServiceParent(self) # for the pruning timer + root = Root() wsrf = WebSocketRendezvousFactory(None, rendezvous) - root = WebSocketResource(wsrf) + root.putChild(b"v1", WebSocketResource(wsrf)) site = PrivacyEnhancedSite(root) if blur_usage: