Remove endpoint altogether because it's not needed

This commit is contained in:
Micah Lee 2021-08-20 11:59:26 -07:00
parent 54f204fc5d
commit c6451e097c
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

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