summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwann <twann@ctemplar.com>2021-08-19 16:15:53 +0200
committerTwann <twann@ctemplar.com>2021-08-19 16:15:53 +0200
commitaa89c2192fa2ec1a9620dbc2ee32ae354df419cc (patch)
tree4b9abfed416f0263717894a1afd4aa962aa8e905
parent76e7880702a83b89b2296a38d116b1c22159366c (diff)
downloadonionshare-aa89c2192fa2ec1a9620dbc2ee32ae354df419cc.tar.gz
onionshare-aa89c2192fa2ec1a9620dbc2ee32ae354df419cc.zip
Fix issue #1365
-rw-r--r--cli/onionshare_cli/web/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py
index 56e307b4..3595c792 100644
--- a/cli/onionshare_cli/web/web.py
+++ b/cli/onionshare_cli/web/web.py
@@ -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,
)