summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/user.go')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index 12e57a33f..37f8d6818 100644
--- a/api/user.go
+++ b/api/user.go
@@ -1238,7 +1238,7 @@ func getProfileImage(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
} else {
- path := "/users/" + id + "/profile.png"
+ path := "users/" + id + "/profile.png"
if data, err := ReadFile(path); err != nil {