Skip to content

OR operator (I want to handle multiple file extensions) #32

@tolmasky

Description

@tolmasky

Perhaps there's already a way to do this, but I was hoping for something along the line of "/path/to/:file(.js|.jsx)"

In this one specific case, I can certainly do ":file.js(x)", but in the general not same prefix extensions, would love to know the best way to tackle this without creating two almost identical routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions