This repository was archived by the owner on Jan 21, 2023. It is now read-only.
This repository was archived by the owner on Jan 21, 2023. It is now read-only.
Add nice error pages #4
Open
Description
Currently we send the correct ResponseCode for most invalid / normally unreachable requests, but we do not send any useful body in most cases.
We should add an AfterMiddleware
that sets some nice looking error pages, if the return code is not 200 or a redirect.
EDIT: https://github.com/untitaker/iron-error-router looks nice