aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index e7cf792..f4094ba 100644
--- a/client.go
+++ b/client.go
@@ -27,7 +27,7 @@ func MediaProxy(url string) string {
return url
}
- MediaHashs[util.HashMedia(url)] = url
+ config.MediaHashs[util.HashMedia(url)] = url
return "/api/media?hash=" + util.HashMedia(url)
}