From aa89c2192fa2ec1a9620dbc2ee32ae354df419cc Mon Sep 17 00:00:00 2001 From: Twann Date: Thu, 19 Aug 2021 16:15:53 +0200 Subject: [PATCH] Fix issue #1365 --- cli/onionshare_cli/web/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py index 56e307b4..3595c792 100644 --- a/cli/onionshare_cli/web/web.py +++ b/cli/onionshare_cli/web/web.py @@ -191,7 +191,7 @@ class Web: self.app.static_url_path = self.static_url_path self.app.add_url_rule( self.static_url_path + "/", - endpoint="static", + endpoint="onionshare-static", # This "static" line seems to raise an AssertionError, but it is not used anywhere else in the project view_func=self.app.send_static_file, )