Proxy media instead of using file cache

This commit is contained in:
Zed
2020-06-06 04:39:22 +02:00
parent 1dcb191903
commit 68a5ac20b6
7 changed files with 80 additions and 61 deletions

View File

@@ -28,9 +28,6 @@ proc getVidUrl*(link: string): string =
url = encodeUrl(link)
&"/video/{sig}/{url}"
proc getGifUrl*(link: string): string =
&"/gif/{encodeUrl(link)}"
proc getPicUrl*(link: string): string =
&"/pic/{encodeUrl(link)}"