This commit is contained in:
Twann 2021-08-19 16:15:53 +02:00
parent 76e7880702
commit aa89c2192f
No known key found for this signature in database
GPG Key ID: A964862B572E3094

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,
)