🐛 Fix all route validate the auth state
This commit is contained in:
parent
3d487fa48b
commit
d588b0723b
@ -19,7 +19,7 @@ func MapAPIs(app *fiber.App) {
|
||||
}
|
||||
|
||||
// Common websocket gateway
|
||||
app.Use(auth.ValidatorMiddleware).Get("/ws", websocket.New(ws.Listen))
|
||||
app.Get("/ws", auth.ValidatorMiddleware, websocket.New(ws.Listen))
|
||||
|
||||
app.All("/inv/:command", invokeCommand)
|
||||
app.All("/cgi/:service/*", forwardService)
|
||||
|
Loading…
Reference in New Issue
Block a user