aboutsummaryrefslogtreecommitdiff
path: root/webAO/master.ts
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-16 16:19:15 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-04-18 16:52:22 +0000
commit29571c0da3b3a588b57125e5dc56eaa78639c1b7 (patch)
tree13492cf6b9e45ce2fa8da66708b8bc8e42f63b3f /webAO/master.ts
parent6446889615f4e165ac131a869b540800a7f3132c (diff)
Change image extension priority
Sometimes, WebP icons won't load despite extensions.json clearly defining it as the only extension used for all image data. I suspect there's a race condition between fetching extensions.json, parsing it into client, and checking what extension we should use to get character icons during loading. Sometimes it correctly loads images, sometimes it falls back and starts requesting PNG instead. I couldn't precisely identify where it happens and what's the root cause. As a workaround, this commit instead makes WebP the first-priority extension and a fallback.
Diffstat (limited to 'webAO/master.ts')
0 files changed, 0 insertions, 0 deletions