Skip to content

Routing 3.0.1

Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 25 Apr 23:16
· 123 commits to main since this release
3219e32

Fixed:

  • Confusion between "any parameter" and "catch all" created in the previous has been resolved (#41).
// matches /version/:/info
router.get("version", any, "info") { ... }

// matches /users/*
router.get("users", all) { ... }

any: matches and discards any 1 path component.
all: matches and discards any 0 or more path components; should be placed at the end of the path.

Milestone:
3.0.1