proxy comment images

oops
This commit is contained in:
orangix 2023-08-15 20:07:44 +02:00
parent 268dbe3d35
commit 1c5479511b
No known key found for this signature in database
GPG Key ID: C31D4A86601C8416

View File

@ -165,7 +165,7 @@ func parseSubmission(value gjson.Result) Submission {
case c.Type != gjson.Null:
cover = Media{
Id: c.Get("id").String(),
Url: c.Get("url").String(),
Url: strings.ReplaceAll(c.Get("url").String(), "https://i.imgur.com", ""),
}
default:
cover = Media{