Don't generate a new static url path on each share within a tab's lifecycle (doesn't work in newer Flask anyway)

This commit is contained in:
Miguel Jacq 2023-05-29 14:46:48 +10:00
parent 83b2bf2f0c
commit 3b0ff388ac
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -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()