fix: fix major bugs for unauthorized access to data

This commit is contained in:
RockYang
2024-03-03 10:40:32 +08:00
parent ca69341024
commit 3f856afec8
8 changed files with 95 additions and 28 deletions

View File

@@ -241,6 +241,7 @@ func main() {
group.POST("upscale", h.Upscale)
group.POST("variation", h.Variation)
group.GET("jobs", h.JobList)
group.GET("imgWall", h.ImgWall)
group.POST("remove", h.Remove)
group.POST("notify", h.Notify)
group.POST("publish", h.Publish)
@@ -250,6 +251,7 @@ func main() {
group.Any("client", h.Client)
group.POST("image", h.Image)
group.GET("jobs", h.JobList)
group.GET("imgWall", h.ImgWall)
group.POST("remove", h.Remove)
group.POST("publish", h.Publish)
}),