From 14b569e05ab43baf76fd6404ca50a2b05a843134 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 3 Sep 2025 10:13:13 +0200 Subject: logging --- webAO/client/fetchLists.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webAO/client') 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"); } -- cgit