change relay URL: use more distinctive path prefix
This might make it easier for an application's web site to include a relay, without competing with some other resource named "relay".
This commit is contained in:
parent
883cacf903
commit
0217a13da6
|
@ -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 = "http://wormhole-relay.petmail.org:3000/relay/"
|
||||
RENDEZVOUS_RELAY = "http://wormhole-relay.petmail.org:3000/wormhole-relay/"
|
||||
TRANSIT_RELAY = "tcp:wormhole-transit-relay.petmail.org:3001"
|
||||
|
|
|
@ -324,7 +324,7 @@ class RelayServer(service.MultiService):
|
|||
self.relayport_service = strports.service(relayport, site)
|
||||
self.relayport_service.setServiceParent(self)
|
||||
self.relay = Relay() # accessible from tests
|
||||
self.root.putChild("relay", self.relay)
|
||||
self.root.putChild("wormhole-relay", self.relay)
|
||||
t = internet.TimerService(5*MINUTE, self.relay.prune_old_channels)
|
||||
t.setServiceParent(self)
|
||||
self.transit = Transit()
|
||||
|
|
Loading…
Reference in New Issue
Block a user