mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-14 20:25:17 +00:00
proxy comment images
oops
This commit is contained in:
@@ -165,7 +165,7 @@ func parseSubmission(value gjson.Result) Submission {
|
|||||||
case c.Type != gjson.Null:
|
case c.Type != gjson.Null:
|
||||||
cover = Media{
|
cover = Media{
|
||||||
Id: c.Get("id").String(),
|
Id: c.Get("id").String(),
|
||||||
Url: c.Get("url").String(),
|
Url: strings.ReplaceAll(c.Get("url").String(), "https://i.imgur.com", ""),
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
cover = Media{
|
cover = Media{
|
||||||
|
|||||||
Reference in New Issue
Block a user