mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 00:09:50 -05:00
Remove endpoint altogether because it's not needed
This commit is contained in:
parent
54f204fc5d
commit
c6451e097c
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user