From 7a9d6e8aa1a8bba11a3587e39d809d198805c1ba Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 5 Nov 2024 22:19:35 +0100 Subject: [PATCH] Fix route --- 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 4f0013d6198c..6f4ec47fdbca 100644 --- a/core/http/app.go +++ b/core/http/app.go @@ -89,7 +89,7 @@ func App(cl *config.BackendConfigLoader, ml *model.ModelLoader, appConfig *confi app := fiber.New(fiberCfg) - app.Use(func(c *fiber.Ctx) error { + app.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()