mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Fix HTTP return code for custom 500 internal server error handler
This commit is contained in:
parent
30f53267df
commit
97922d33d0
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class Web:
|
|||
|
||||
self.add_request(Web.REQUEST_OTHER, request.path)
|
||||
r = make_response(
|
||||
render_template("500.html", static_url_path=self.static_url_path), 405
|
||||
render_template("500.html", static_url_path=self.static_url_path), 500
|
||||
)
|
||||
return self.add_security_headers(r)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue