aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-08-20 11:58:15 -0700
committerMicah Lee <micah@micahflee.com>2021-08-20 11:58:15 -0700
commit54f204fc5db8332c45311b2b0f401b77bda467e8 (patch)
treed58d7d3f77b2f6feef7fef2cd4b7808b534ef771
parentda2c9d00e41b7f679ee36384b4a0fab27db9d843 (diff)
parentaa89c2192fa2ec1a9620dbc2ee32ae354df419cc (diff)
downloadonionshare-54f204fc5db8332c45311b2b0f401b77bda467e8.tar.gz
onionshare-54f204fc5db8332c45311b2b0f401b77bda467e8.zip
Merge branch 'develop' of https://github.com/twann4/onionshare into twann4-develop
-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,
)