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()
|
||||
if err == nil && existingEntry != nil {
|
||||
if existingEntry.IsDirectory() {
|
||||
path += ret.Name
|
||||
path += "/" + ret.Name
|
||||
} else {
|
||||
crTime = existingEntry.Crtime
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue