This commit is contained in:
Twann 2021-08-19 16:15:53 +02:00
parent 7c9eed3793
commit d83a4e3ebc

View File

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