summaryrefslogtreecommitdiffstats
path: root/model/client.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-22 18:05:44 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-22 18:05:44 -0800
commitc277a98b5d88c81df39f8e33ef1286f72ac04014 (patch)
tree0d96238a2ee3ab121ea576db9900311ff5a57ba6 /model/client.go
parente0bad6c03784d44210760577550be585daf513b9 (diff)
parentf4c3eaa8c091366a956fa2ab48124190f4f9082b (diff)
downloadchat-c277a98b5d88c81df39f8e33ef1286f72ac04014.tar.gz
chat-c277a98b5d88c81df39f8e33ef1286f72ac04014.tar.bz2
chat-c277a98b5d88c81df39f8e33ef1286f72ac04014.zip
Merge branch 'master' into mm-1420
Diffstat (limited to 'model/client.go')
-rw-r--r--model/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/client.go b/model/client.go
index ad1e4b5f1..17bb898ca 100644
--- a/model/client.go
+++ b/model/client.go
@@ -552,7 +552,7 @@ func (c *Client) GetFile(url string, isFullUrl bool) (*Result, *AppError) {
if isFullUrl {
rq, _ = http.NewRequest("GET", url, nil)
} else {
- rq, _ = http.NewRequest("GET", c.Url+url, nil)
+ rq, _ = http.NewRequest("GET", c.Url+"/files/get"+url, nil)
}
if len(c.AuthToken) > 0 {