From f157314fb8fe6a182152caccda2373473b6d96e6 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 5 Nov 2024 22:19:35 +0100 Subject: [PATCH] Fix route Signed-off-by: Ettore Di Giacinto --- core/http/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/app.go b/core/http/app.go index c4a1eafc..1856b1c5 100644 --- a/core/http/app.go +++ b/core/http/app.go @@ -88,7 +88,7 @@ func API(application *application.Application) (*fiber.App, error) { router := fiber.New(fiberCfg) - router.Use(func(c *fiber.Ctx) error { + router.Use("/v1/realtime", func(c *fiber.Ctx) error { if websocket.IsWebSocketUpgrade(c) { // Returns true if the client requested upgrade to the WebSocket protocol return c.Next()