diff --git a/src/run.go b/src/run.go index abf8936..0c2b733 100644 --- a/src/run.go +++ b/src/run.go @@ -85,7 +85,7 @@ func setup() *gin.Engine { r.Use(ErrorHandler(errorHandlers...)) r.GET("/", checkAccountForRequest(), connectHandler) - r.GET("/settings/:uid", settingsHandler) + r.Any("/settings/:uid", settingsHandler) r.POST("/save/", checkConnectionForRequest(), saveHandler) r.POST("/create/", checkConnectionForRequest(), createHandler) r.POST("/add-bot/", checkBotForRequest(), addBotHandler)