Ghost/core
Hannah Wolfe 8c93bdff41
Removed unnecessary BasicErrorRenderer
refs: 4474ca1a1d
refs: 0799f02e80

The BasicErrorRenderer was created as a fallback for when we needed to not render templates, which is
chiefly when we're trying to render a 404 for an image. Using a template puts us at risk of an infinite 404 loop
if the missing image is referenced in the 404 template.

As of 0799f02e, the HTMLErrorRenderer no longer uses templates - instead we serve a very simple HTML page.
This can be used instead of the BasicErrorRenderer, as it results in a properly formatted error.
Even when sending responses in plain text, the content type is returned as HTML and therefore having an
unformatted error makes no sense - if we really need a non-html format I guess there should be no body at all.
2021-11-29 15:40:55 +00:00
..
client@5648dd6105 Updated Admin to v4.24.0 2021-11-26 16:00:26 +00:00
frontend Fixed the selector for toggle headings 2021-11-25 09:07:47 +01:00
server Removed unnecessary BasicErrorRenderer 2021-11-29 15:40:55 +00:00
shared Added quoteStyles labs flag 2021-11-24 16:33:47 +00:00
app.js Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
boot.js Moved custom redirects initialization to frontend init secton 2021-11-26 06:18:36 +13:00
bridge.js Added missing async/await calls 2021-11-23 17:24:50 +00:00