1
0
Fork 0
forked from OpenNeo/impress

Don't use the pets.neopets.com asset proxy anymore

Ah right, now that HTTPS works, we can skip this!
This commit is contained in:
Emi Matchu 2024-04-06 03:25:06 -07:00
parent bd4b67316c
commit bb90f92a06

View file

@ -266,10 +266,10 @@ const SpeciesFaceOption = React.memo(
`} `}
> >
<CrossFadeImage <CrossFadeImage
src={`https://pets.neopets-asset-proxy.openneo.net/cp/${neopetsImageHash}/${emotionId}/1.png`} src={`https://pets.neopets.com/cp/${neopetsImageHash}/${emotionId}/1.png`}
srcSet={ srcSet={
`https://pets.neopets-asset-proxy.openneo.net/cp/${neopetsImageHash}/${emotionId}/1.png 1x, ` + `https://pets.neopets.com/cp/${neopetsImageHash}/${emotionId}/1.png 1x, ` +
`https://pets.neopets-asset-proxy.openneo.net/cp/${neopetsImageHash}/${emotionId}/6.png 2x` `https://pets.neopets.com/cp/${neopetsImageHash}/${emotionId}/6.png 2x`
} }
alt={speciesName} alt={speciesName}
width={55} width={55}