mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 15:30:45 +01:00
fix upload path
This commit is contained in:
1 parent
7b7f4215aa
commit
2fb740a2b9
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user