mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 02:14:52 +08:00
Add /admin/mv to move a file or a folder
This commit is contained in:
@@ -23,8 +23,8 @@ func Resized(ext string, data []byte, width, height int) (resized []byte, w int,
|
||||
} else {
|
||||
dstImage = imaging.Resize(srcImage, width, height, imaging.Lanczos)
|
||||
}
|
||||
}else{
|
||||
return data, bounds.Dx(), bounds.Dy()
|
||||
} else {
|
||||
return data, bounds.Dx(), bounds.Dy()
|
||||
}
|
||||
var buf bytes.Buffer
|
||||
switch ext {
|
||||
|
Reference in New Issue
Block a user