diff options
author | Miguel Jacq <mig@mig5.net> | 2023-05-29 14:46:48 +1000 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2023-05-29 14:46:48 +1000 |
commit | 3b0ff388ace98c48b560b8d6cfaa94dd0084f604 (patch) | |
tree | 1c9aaa0951e13bf1eac90048815a9d4544053ff7 | |
parent | 83b2bf2f0c27d0da90bc50552a7741924ecdcd40 (diff) | |
download | onionshare-3b0ff388ace98c48b560b8d6cfaa94dd0084f604.tar.gz onionshare-3b0ff388ace98c48b560b8d6cfaa94dd0084f604.zip |
Don't generate a new static url path on each share within a tab's lifecycle (doesn't work in newer Flask anyway)
-rw-r--r-- | desktop/onionshare/threads.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop/onionshare/threads.py b/desktop/onionshare/threads.py index db0c6145..b3d51d49 100644 --- a/desktop/onionshare/threads.py +++ b/desktop/onionshare/threads.py @@ -62,9 +62,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 early, because we need them to exist in advance for scheduled shares if not self.mode.app.port: self.mode.app.choose_port() |