Fix placeholder URLs in safeImageUrl

Oops, I got distracted partway through typing the domain, lol! They point to a real place now, lol! (not a very helpful place, but at least the real one I intended! :p)
This commit is contained in:
Emi Matchu 2021-02-09 16:16:46 -08:00
parent 10aa4f9905
commit 8694729b38

View file

@ -126,7 +126,7 @@ export function safeImageUrl(urlString) {
`safeImageUrl could not parse URL: ${urlString}. Returning a placeholder.` `safeImageUrl could not parse URL: ${urlString}. Returning a placeholder.`
) )
); );
return "https://impress-openneo.net/__error__URL-was-not-parseable__"; return "https://impress-2020.openneo.net/__error__URL-was-not-parseable__";
} }
if (url.origin === "http://images.neopets.com") { if (url.origin === "http://images.neopets.com") {
@ -144,7 +144,7 @@ export function safeImageUrl(urlString) {
`upgrade it to HTTPS: ${urlString}. Returning a placeholder.` `upgrade it to HTTPS: ${urlString}. Returning a placeholder.`
) )
); );
return "https://impress-openneo.net/__error__URL-was-not-HTTPS__"; return "https://impress-2020.openneo.net/__error__URL-was-not-HTTPS__";
} }
return url.toString(); return url.toString();