Skip to content

routes.reverse() has adverse side effects #59

Open
@scott-wyatt

Description

@scott-wyatt

https://github.com/trailsjs/trailpack-express/blob/master/lib/server.js#L214

If I specify a route with * as my 404 this reverse does not make it the last route which is part of express spec. We might need to add a little bit smarter of route prioritization.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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