Skip to content
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
Open
@Drakulix

Description

@Drakulix

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions