Support POST request for the configuration page
This commit is contained in:
parent
18a3d05357
commit
386cbcaafa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user