]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
webish: put a trailing slash in the node.url file, since our unit tests use it, and...
authorBrian Warner <warner@allmydata.com>
Wed, 12 Mar 2008 02:01:18 +0000 (19:01 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 12 Mar 2008 02:01:18 +0000 (19:01 -0700)
src/allmydata/webish.py

index cc26579c9da0611df89534e7f6c40b55454e4821..d241de0141366f62cc0d53433f46466e4f7a75f5 100644 (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: