Skip to content

Commit ee4ae33

Browse files
committed
Fix route
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent ec0d3ea commit ee4ae33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/http/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func App(cl *config.BackendConfigLoader, ml *model.ModelLoader, appConfig *confi
8989

9090
app := fiber.New(fiberCfg)
9191

92-
app.Use(func(c *fiber.Ctx) error {
92+
app.Use("/v1/realtime", func(c *fiber.Ctx) error {
9393
if websocket.IsWebSocketUpgrade(c) {
9494
// Returns true if the client requested upgrade to the WebSocket protocol
9595
return c.Next()

0 commit comments

Comments
 (0)