Open
Description
Checks
- This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- I have thoroughly read and understand The Odin Project Contributing Guide
- Would you like to work on this issue?
Describe your suggestion
in the example snippet of "Order matters"
app.get("*", (req, res) => {
res.send("* is a great way to catch all otherwise unmatched paths, e.g. for custom 404 error handling.");
});
the wildcard now needs a name parameter to work with. For example:
app.get("*some-name", (req, res) => { res.send("This should match all routes!"); })
the above snippet will work. Please update if it is an actual error.
Path
Node / JS
Lesson Url
https://www.theodinproject.com/lessons/nodejs-routes
(Optional) Discord Name
hemantxLynn
(Optional) Additional Comments
No response
Metadata
Metadata
Assignees
Labels
No labels