Remove endpoint altogether because it's not needed

This commit is contained in:
Micah Lee 2021-08-20 11:59:26 -07:00
parent 1ca0c2a437
commit 961e920878

View File

@ -191,7 +191,6 @@ class Web:
self.app.static_url_path = self.static_url_path
self.app.add_url_rule(
self.static_url_path + "/<path:filename>",
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,
)