Skip to content

Commit

Permalink
Rev886, Avoid browser redirect caching on start.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Feb 6, 2016
1 parent 31f108a commit 0faa6fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Config(object):

def __init__(self, argv):
self.version = "0.3.6"
self.rev = 885
self.rev = 886
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"
Expand Down
2 changes: 1 addition & 1 deletion src/Ui/UiServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def start(self):
browser = webbrowser.get()
else:
browser = webbrowser.get(config.open_browser)
browser.open("http://%s:%s" % (config.ui_ip if config.ui_ip != "*" else "127.0.0.1", config.ui_port), new=2)
browser.open("http://%s:%s/%s" % (config.ui_ip if config.ui_ip != "*" else "127.0.0.1", config.ui_port, config.homepage), new=2)

self.server = WSGIServer((self.ip.replace("*", ""), self.port), handler, handler_class=UiWSGIHandler, log=self.log)
self.server.sockets = {}
Expand Down

0 comments on commit 0faa6fb

Please sign in to comment.