mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 22:45:03 -04:00
Remove endpoint altogether because it's not needed
This commit is contained in:
parent
1ca0c2a437
commit
961e920878
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue