Skip to content

Possibility to define a default route with Flatiron #40

@mikl

Description

@mikl

I have not been able to find a better way to make a default route than this:

app.router.get(/((\w|.)*)/, function () {
  return nice404page();
}

And by default, Flatiron’s 404 page just has the word “undefined” on it. Not really a compelling user experience ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions