Use ponyhead for images

This commit is contained in:
Hamcha 2019-08-20 15:09:16 +02:00
parent b140847daa
commit 2228d2c918
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -232,7 +232,7 @@ func getCardEntry(card CardData, flipped int) (string, string, []tg.APIInlineKey
CallbackData: fmt.Sprintf("FLIP,%s,%d", card.GUID, num), CallbackData: fmt.Sprintf("FLIP,%s,%d", card.GUID, num),
}) })
} }
face := fmt.Sprintf("https://mcg.zyg.ovh/images/cards/%s%s.webp", cid, suffix) face := fmt.Sprintf("http://ponyhead.com/img/cards/%s%s.jpg", cid, suffix)
return face, strings.Join(captions, " - "), buttons return face, strings.Join(captions, " - "), buttons
} }