mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-03 01:50:11 -05:00
Fix HTTP return code for custom 500 internal server error handler
This commit is contained in:
parent
30f53267df
commit
97922d33d0
@ -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…
x
Reference in New Issue
Block a user