mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-07-20 09:58:23 +00:00
proxy comment images
oops
This commit is contained in:
parent
268dbe3d35
commit
1c5479511b
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user