mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
webish: put a trailing slash in the node.url file, since our unit tests use it, and some versions of twisted or nevow don't automatically add one
This commit is contained in:
parent
fd5a922cad
commit
0c40513e75
@ -1580,9 +1580,9 @@ class WebishServer(service.MultiService):
|
||||
# what is our webport?
|
||||
s = self.listener
|
||||
if isinstance(s, internet.TCPServer):
|
||||
base_url = "http://127.0.0.1:%d" % s._port.getHost().port
|
||||
base_url = "http://127.0.0.1:%d/" % s._port.getHost().port
|
||||
elif isinstance(s, internet.SSLServer):
|
||||
base_url = "https://127.0.0.1:%d" % s._port.getHost().port
|
||||
base_url = "https://127.0.0.1:%d/" % s._port.getHost().port
|
||||
else:
|
||||
base_url = None
|
||||
if base_url:
|
||||
|
Loading…
x
Reference in New Issue
Block a user