Skip to content

Commit

Permalink
Fix route
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Nov 5, 2024
1 parent cfa4fa7 commit 7a9d6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/http/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7a9d6e8

Please sign in to comment.