diff options
author | hiro <hiro@torproject.org> | 2019-06-13 22:56:48 +0200 |
---|---|---|
committer | hiro <hiro@torproject.org> | 2019-06-13 22:56:48 +0200 |
commit | 66e85497efb023ab46eda9163bd2f667916bc134 (patch) | |
tree | dd686e35ab622f4e13e2d4835b0b69a3522032c3 /onionshare_gui | |
parent | 4d733c224a320a7aa5d430d8440a50cb833cbc16 (diff) | |
download | onionshare-66e85497efb023ab46eda9163bd2f667916bc134.tar.gz onionshare-66e85497efb023ab46eda9163bd2f667916bc134.zip |
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 50b2311409cd93814324a4570e8bdc5d032748c8.
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/threads.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/onionshare_gui/threads.py b/onionshare_gui/threads.py index 57e0f0af..bee1b6bc 100644 --- a/onionshare_gui/threads.py +++ b/onionshare_gui/threads.py @@ -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: |