upd
This commit is contained in:
@@ -52,6 +52,7 @@ func NewRouter(st *store.Store) *gin.Engine {
|
||||
cc := NewConfigController(st)
|
||||
apiGroup.GET("/config/nsfw", cc.GetNsfwConfig)
|
||||
apiGroup.PUT("/config/nsfw", cc.UpdateNsfwConfig)
|
||||
apiGroup.GET("/config/system", cc.GetSystemInfo)
|
||||
apiGroup.PUT("/config/scan-dir", cc.UpdateScanDir)
|
||||
}
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user