aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fetchLists.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-09-03 10:13:13 +0200
committerstonedDiscord <Tukz@gmx.de>2025-09-03 10:13:13 +0200
commit14b569e05ab43baf76fd6404ca50a2b05a843134 (patch)
tree7e02c8028d9563a1ec693df650c8e01b42f31cee /webAO/client/fetchLists.ts
parentc2ce0abe8af72603ad35761cb798fdd1aff01c85 (diff)
logging
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");
}