mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 08:55:12 -04:00
Fix onionshare URLs non-public mode is always http basic auth
This commit is contained in:
parent
29abfd8f87
commit
b667fcc4f8
2 changed files with 8 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue