Skip to content

Commit

Permalink
Fix route
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Nov 6, 2024
1 parent ec0d3ea commit ee4ae33
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 ee4ae33

Please sign in to comment.