mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Fix issue #1365
This commit is contained in:
parent
76e7880702
commit
aa89c2192f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ 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="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,
|
view_func=self.app.send_static_file,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue