diff options
author | Micah Lee <micah@micahflee.com> | 2019-05-20 19:22:03 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-05-20 19:22:03 -0700 |
commit | b667fcc4f8ca6d78ffda0e3b2faa9b606b733825 (patch) | |
tree | 965309a705abb23733e5a9c2f6a2ca4cd34c92df /onionshare_gui | |
parent | 29abfd8f876e2474a119aa13d957a6a84ebbd3c3 (diff) | |
download | onionshare-b667fcc4f8ca6d78ffda0e3b2faa9b606b733825.tar.gz onionshare-b667fcc4f8ca6d78ffda0e3b2faa9b606b733825.zip |
Fix onionshare URLs non-public mode is always http basic auth
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/server_status.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py index 3b3a7794..b23a89a8 100644 --- a/onionshare_gui/server_status.py +++ b/onionshare_gui/server_status.py @@ -420,8 +420,6 @@ class ServerStatus(QtWidgets.QWidget): """ if self.common.settings.get('public_mode'): url = 'http://{0:s}'.format(self.app.onion_host) - elif self.mode == ServerStatus.MODE_WEBSITE: - url = 'http://onionshare:{0:s}@{1:s}'.format(self.web.slug, self.app.onion_host) else: - url = 'http://{0:s}/{1:s}'.format(self.app.onion_host, self.web.slug) + url = 'http://onionshare:{0:s}@{1:s}'.format(self.web.slug, self.app.onion_host) return url |