aboutsummaryrefslogtreecommitdiff
path: root/webAO/components
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-16 16:19:15 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-06-06 03:06:43 +0000
commitf79163b97ac3fe9a37cbae50d881a7dc0b613936 (patch)
treeeb9ed01fd37ef60053ab6337c49ffe632ac10341 /webAO/components
parente4604f27947052a3ba04fda9218a3aeb40b332d0 (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/components')
0 files changed, 0 insertions, 0 deletions