Browse Source

Use public url for returned file url result

pull/118/head
chrislusf 10 years ago
parent
commit
c1bc529654
  1. 2
      go/operation/submit.go

2
go/operation/submit.go

@ -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…
Cancel
Save