Commit 1c6d9d81 authored by Moody Salem's avatar Moody Salem

keep list asset requests anonymous

parent c3ad1296
......@@ -22,6 +22,7 @@ export default function Logo({ srcs, alt, ...rest }: LogoProps) {
{...rest}
alt={alt}
src={src}
crossOrigin="anonymous"
onError={() => {
if (src) BAD_SRCS[src] = true
refresh((i) => i + 1)
......
......@@ -42,7 +42,7 @@ export default async function getTokenList(
const isLast = i === urls.length - 1
let response
try {
response = await fetch(url)
response = await fetch(url, { credentials: 'omit' })
} catch (error) {
console.debug('Failed to fetch list', listUrl, error)
if (isLast) throw new Error(`Failed to download list ${listUrl}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment