From 961e920878848e6e05d9484baf002d9efba2afdb Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 20 Aug 2021 11:59:26 -0700 Subject: [PATCH] Remove endpoint altogether because it's not needed --- cli/onionshare_cli/web/web.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py index 3595c792..04919185 100644 --- a/cli/onionshare_cli/web/web.py +++ b/cli/onionshare_cli/web/web.py @@ -191,7 +191,6 @@ class Web: self.app.static_url_path = self.static_url_path self.app.add_url_rule( self.static_url_path + "/", - 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, )