Use public url for returned file url result

This commit is contained in:
chrislusf 2015-04-16 11:37:05 -07:00
parent 087b839354
commit c1bc529654

View File

@ -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
}