summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-08-20 11:59:26 -0700
committerMicah Lee <micah@micahflee.com>2021-08-20 11:59:26 -0700
commitc6451e097cc2baf91f0b1317604af2ed9418a63f (patch)
tree06a9cc6a81705ccd054d61e9dec44b6cb846a530 /cli
parent54f204fc5db8332c45311b2b0f401b77bda467e8 (diff)
downloadonionshare-c6451e097cc2baf91f0b1317604af2ed9418a63f.tar.gz
onionshare-c6451e097cc2baf91f0b1317604af2ed9418a63f.zip
Remove endpoint altogether because it's not needed
Diffstat (limited to 'cli')
-rw-r--r--cli/onionshare_cli/web/web.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/onionshare_cli/web/web.py b/cli/onionshare_cli/web/web.py
index 3595c792..04919185 100644
--- a/cli/onionshare_cli/web/web.py
+++ b/cli/onionshare_cli/web/web.py
@@ -191,7 +191,6 @@ class Web:
self.app.static_url_path = self.static_url_path
self.app.add_url_rule(
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,
)