From 3b0ff388ace98c48b560b8d6cfaa94dd0084f604 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 29 May 2023 14:46:48 +1000 Subject: Don't generate a new static url path on each share within a tab's lifecycle (doesn't work in newer Flask anyway) --- desktop/onionshare/threads.py | 3 --- 1 file changed, 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() -- cgit v1.2.3-54-g00ecf