fix: router path duplicate
This commit is contained in:
parent
034b7a642e
commit
255b2b2320
|
@ -140,7 +140,6 @@ func configRoutes(r *gin.Engine) {
|
||||||
pages.DELETE("/alert-rule-group/:id", login(), alertRuleGroupDel)
|
pages.DELETE("/alert-rule-group/:id", login(), alertRuleGroupDel)
|
||||||
pages.POST("/alert-rule-group/:id/favorites", login(), alertRuleGroupFavoriteAdd)
|
pages.POST("/alert-rule-group/:id/favorites", login(), alertRuleGroupFavoriteAdd)
|
||||||
pages.DELETE("/alert-rule-group/:id/favorites", login(), alertRuleGroupFavoriteDel)
|
pages.DELETE("/alert-rule-group/:id/favorites", login(), alertRuleGroupFavoriteDel)
|
||||||
pages.GET("/check-promql", checkPromeQl)
|
|
||||||
|
|
||||||
pages.POST("/alert-rules", login(), alertRuleAdd)
|
pages.POST("/alert-rules", login(), alertRuleAdd)
|
||||||
pages.PUT("/alert-rules/status", login(), alertRuleStatusPut)
|
pages.PUT("/alert-rules/status", login(), alertRuleStatusPut)
|
||||||
|
|
Loading…
Reference in New Issue