From 05225c93e4a0c3e10f95cfea2e6ae20d756d8255 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 a3e4559d..91500c97 100644 --- a/core/http/app.go +++ b/core/http/app.go @@ -90,7 +90,7 @@ func API(application *application.Application) (*fiber.App, error) { router.Use(middleware.StripPathPrefix()) - 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()