aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fetchLists.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/fetchLists.ts')
-rw-r--r--webAO/client/fetchLists.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/webAO/client/fetchLists.ts b/webAO/client/fetchLists.ts
index 2aff60a..68b1a43 100644
--- a/webAO/client/fetchLists.ts
+++ b/webAO/client/fetchLists.ts
@@ -71,8 +71,10 @@ export const fetchExtensions = async () => {
try {
const extensiondata = await request(`${AO_HOST}extensions.json`);
const allextensions = JSON.parse(extensiondata);
- client.charicon_extensions = allextensions.charicon_extensions|| [".png", ".webp"];
+ client.charicon_extensions = allextensions.charicon_extensions || [".png", ".webp"];
client.emote_extensions = allextensions.emote_extensions || [".gif", ".png", ".apng", ".webp", ".webp.static"];
+ console.log("charicons "+client.charicon_extensions)
+ console.log("emotes "+client.emote_extensions)
} catch (err) {
console.warn("there was no extensions.json file");
}