From c1bc529654d4034c08082568c6c93610ffc0a06e Mon Sep 17 00:00:00 2001 From: chrislusf Date: Thu, 16 Apr 2015 11:37:05 -0700 Subject: [PATCH] Use public url for returned file url result --- go/operation/submit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/operation/submit.go b/go/operation/submit.go index ca151dfb9..8bba14c5f 100644 --- a/go/operation/submit.go +++ b/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 }