Skip to content

Commit

Permalink
Update whats_new.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby authored Jan 19, 2025
1 parent 1dedc80 commit 927e3b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,11 @@ malicious connections before the server establishes a connection.

```go
app.Get("/", func(c fiber.Ctx) error {
if c.IP() == "192.168.1.1" {
return c.Drop()
}
if c.IP() == "192.168.1.1" {
return c.Drop()
}

return c.SendString("Hello World!")
return c.SendString("Hello World!")
})
```

Expand Down

0 comments on commit 927e3b3

Please sign in to comment.