mirror of
https://github.com/keven1024/015.git
synced 2026-06-10 06:14:34 +00:00
feat(worker): add image conversion endpoint and update file utility references in tasks
This commit is contained in:
@@ -32,6 +32,7 @@ func main() {
|
||||
mux.HandleFunc("share:remove", tasks.RemoveShare)
|
||||
mux.HandleFunc("file:remove", tasks.RemoveFile)
|
||||
mux.HandleFunc("image:compress", tasks.CompressImage)
|
||||
mux.HandleFunc("image:convert", tasks.ConvertImage)
|
||||
|
||||
if err := srv.Run(mux); err != nil {
|
||||
log.Fatalf("could not run server: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user