Ghost/core/server/web
Hannah Wolfe d7c4168452
Removed HTMLErrorRenderer completely
refs: 0799f02e80
refs: 5e931e2e37

- with the referenced two commits I replaced our old HTML renderer with some code borrowed heavily from finalHandler
- I had intended to modify this further to out put our message, context and help error messages
- However, I ended up doing this in prepareError so it's done for all error renderers
- There's now very little point keeping duplicated code from finalHandler just to output the status code
- If we remove this code, express will fall back to finalHandler anyway, so the output is near identical
2021-11-29 17:00:47 +00:00
..
admin Moved admin redirect middleware to named file 2021-11-25 14:29:17 +00:00
api Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
members Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
oauth Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
parent Renamed withBackend/withFrotned to backend/frontend 2021-11-22 21:56:32 +13:00
shared Removed HTMLErrorRenderer completely 2021-11-29 17:00:47 +00:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
well-known.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00