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:
Brian Warner 2008-03-11 19:01:18 -07:00
parent fd5a922cad
commit 0c40513e75

View File

@ -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: