aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-02 12:07:00 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit733f911fadc872933481bcbe087d519ce00372df (patch)
tree54788da4f730bd11934401c1eca48a3c87f08027 /client.go
parente80fe14f7985f9e85bfb9582926acd7891455786 (diff)
cleaned up main
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)
}