mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 14:04:59 -05:00
fix(www): banner being broken
This commit is contained in:
parent
2450000c0f
commit
ca46d33978
@ -64,7 +64,9 @@ export default function Banner({ server }: { server: string }) {
|
||||
src={
|
||||
bannerURL.startsWith("https://i.imgur.com")
|
||||
? 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"
|
||||
alt="User-provided banner for this server."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user