add basic auth for config webapi
This commit is contained in:
@ -99,6 +99,7 @@ func (s *Server) Close() error {
|
||||
|
||||
func registerConfig(config *gin.RouterGroup) {
|
||||
config.GET("", getConfig)
|
||||
config.POST("", saveConfig)
|
||||
|
||||
config.POST("/services", createService)
|
||||
config.PUT("/services/:service", updateService)
|
||||
|
||||
Reference in New Issue
Block a user