fix(www): banner being broken

This commit is contained in:
dvelo 2025-03-02 15:17:50 -06:00
parent 2450000c0f
commit ca46d33978

@ -64,7 +64,9 @@ export default function Banner({ server }: { server: string }) {
src={ src={
bannerURL.startsWith("https://i.imgur.com") bannerURL.startsWith("https://i.imgur.com")
? bannerURL ? bannerURL
: "wsrv.nl/?url=" + encodeURIComponent(bannerURL) + "?n=-1" : "https://wsrv.nl/?url=" +
encodeURIComponent(bannerURL) +
"?n=-1"
} }
className="rounded align-middle block ml-auto mr-auto absolute left-0 z-0 w-full object-fill" className="rounded align-middle block ml-auto mr-auto absolute left-0 z-0 w-full object-fill"
alt="User-provided banner for this server." alt="User-provided banner for this server."