-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
| app.get('*', (req, res) => { |
https://github.com/pillarjs/path-to-regexp?tab=readme-ov-file#unexpected--or-
In past releases, ?, *, and + were used to denote optional or repeating parameters. As an alternative, try these:
For optional (?), use braces: /file{.:ext}.
For one or more (+), use a wildcard: /*path.
For zero or more (*), use both: /files{/*path}.
Metadata
Metadata
Assignees
Labels
No labels