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:
hiro 2019-06-13 22:56:48 +02:00
parent 4d733c224a
commit 66e85497ef
2 changed files with 5 additions and 16 deletions

View file

@ -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: