www: fix example routes (#1637)

This commit is contained in:
Nathan Waldman
2023-08-16 14:01:47 +00:00
committed by GitHub
parent 726740ed39
commit 794c8ac10c
@@ -12,7 +12,7 @@ that contains the name passed in the path.
Before diving in, a quick refresher on "dynamic" routes. Dynamic routes don't
just match a single static path, but rather a whole bunch of different paths
based on a pattern. For example, the `/greet/:name` route will match the paths
`/greet/Luca` and `/John`, but not `/greet/Luca/John`.
`/greet/Luca` and `/greet/John`, but not `/greet/Luca/John`.
Fresh supports dynamic routes out of the box through file system routing. To
make any path segment dynamic, just put square brackets around that segment in