From 927e3b3266c1f560480619dcb793a9633ad44f5e Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 19 Jan 2025 02:38:34 -0500 Subject: [PATCH] Update whats_new.md --- docs/whats_new.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/whats_new.md b/docs/whats_new.md index 3b3a43e94c..d9e857181a 100644 --- a/docs/whats_new.md +++ b/docs/whats_new.md @@ -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!") }) ```