Skip to content

Commit cda002d

Browse files
authored
Merge pull request #62 from ztmark/master
fix typo
2 parents c53e1cb + 86b3c73 commit cda002d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ app.Get("/:value", func(c *fiber.Ctx) {
9090
// GET http://localhost:3000/john
9191

9292
app.Get("/:name?", func(c *fiber.Ctx) {
93-
if c.Params("name") == "" {
93+
if c.Params("name") != "" {
9494
c.Send("Hello " + c.Params("name"))
9595
// => Hello john
9696
} else {

0 commit comments

Comments
 (0)