Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[bz4388276] Create a middleware to handle 404 pages instead of doing it within Mojito #82

Closed
add0n opened this Issue · 1 comment

2 participants

@add0n

Or potentially just a simple error handler middlware that can handle any errors. It will look for a particular mojito-error object on the request to find out whether to react or call next().

@caridy
Owner

In 0.5 mojito-handler-error middleware was introduced. In 0.6 you will be able to handle this in express directly.

@caridy caridy closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.