mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 16:45:44 -04:00
Revert "Generate a new static_url_path each time the server is stopped and started again"
This change creates problems with how website mode renders assets.
This reverts commit 50b2311409
.
This commit is contained in:
parent
4d733c224a
commit
66e85497ef
2 changed files with 5 additions and 16 deletions
|
@ -42,9 +42,6 @@ class OnionThread(QtCore.QThread):
|
|||
def run(self):
|
||||
self.mode.common.log('OnionThread', 'run')
|
||||
|
||||
# Make a new static URL path for each new share
|
||||
self.mode.web.generate_static_url_path()
|
||||
|
||||
# Choose port and password early, because we need them to exist in advance for scheduled shares
|
||||
self.mode.app.stay_open = not self.mode.common.settings.get('close_after_first_download')
|
||||
if not self.mode.app.port:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue