mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix upload path
This commit is contained in:
parent
7b7f4215aa
commit
2fb740a2b9
|
@ -191,7 +191,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
crTime := time.Now()
|
crTime := time.Now()
|
||||||
if err == nil && existingEntry != nil {
|
if err == nil && existingEntry != nil {
|
||||||
if existingEntry.IsDirectory() {
|
if existingEntry.IsDirectory() {
|
||||||
path += ret.Name
|
path += "/" + ret.Name
|
||||||
} else {
|
} else {
|
||||||
crTime = existingEntry.Crtime
|
crTime = existingEntry.Crtime
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue