diff --git a/cli/onionshare_cli/resources/templates/denied.html b/cli/onionshare_cli/resources/templates/denied.html index 49147ef2..e8c49f98 100644 --- a/cli/onionshare_cli/resources/templates/denied.html +++ b/cli/onionshare_cli/resources/templates/denied.html @@ -4,12 +4,11 @@ OnionShare - - +

OnionShare download in progress

- + \ No newline at end of file diff --git a/cli/onionshare_cli/web/share_mode.py b/cli/onionshare_cli/web/share_mode.py index 39c82d31..87f35eaa 100644 --- a/cli/onionshare_cli/web/share_mode.py +++ b/cli/onionshare_cli/web/share_mode.py @@ -61,10 +61,7 @@ class ShareModeWeb(SendBaseModeWeb): and self.download_in_progress ) if deny_download: - r = make_response( - render_template("denied.html"), - static_url_path=self.web.static_url_path, - ) + r = make_response(render_template("denied.html")) return self.web.add_security_headers(r) # If download is allowed to continue, serve download page @@ -87,11 +84,7 @@ class ShareModeWeb(SendBaseModeWeb): and self.download_in_progress ) if deny_download: - r = make_response( - render_template( - "denied.html", static_url_path=self.web.static_url_path - ) - ) + r = make_response(render_template("denied.html")) return self.web.add_security_headers(r) # Prepare some variables to use inside generate() function below