mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 11:09:12 +08:00
Use public url for returned file url result
This commit is contained in:
parent
087b839354
commit
c1bc529654
@ -63,7 +63,7 @@ func SubmitFiles(master string, files []FilePart,
|
||||
results[index].Error = err.Error()
|
||||
}
|
||||
results[index].Fid = file.Fid
|
||||
results[index].FileUrl = file.Server + "/" + file.Fid
|
||||
results[index].FileUrl = ret.PublicUrl + "/" + file.Fid
|
||||
}
|
||||
return results, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user