mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 a new issue