Skip to content

Commit 4baeb0e

Browse files
committed
docs: add note about inputs
closes #166
1 parent 3535a5f commit 4baeb0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ findRoute(router, "GET", "/path/foo/bar/baz");
8585
findRoute(router, "GET", "/");
8686
```
8787

88+
> [!IMPORTANT]
89+
> Paths should **always begin with `/`**.
90+
91+
> [!IMPORTANT]
92+
> Method should **always be UPPERCASE**.
93+
8894
## Experimental Compiler
8995

9096
> [!IMPORTANT]

0 commit comments

Comments
 (0)