summaryrefslogtreecommitdiffstats
path: root/app/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/post.go')
-rw-r--r--app/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/post.go b/app/post.go
index bf4725e77..6890d1dd9 100644
--- a/app/post.go
+++ b/app/post.go
@@ -890,7 +890,7 @@ func (a *App) ImageProxyAdder() func(string) string {
}
return func(url string) string {
- if strings.HasPrefix(url, proxyURL) {
+ if url == "" || strings.HasPrefix(url, proxyURL) {
return url
}