aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/handleCharacterInfo.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-08-07 19:33:35 +0200
committerstonedDiscord <Tukz@gmx.de>2024-08-07 19:33:35 +0200
commit26d5691ce5d3840c458745409a70f196dc5474f3 (patch)
treefdbd7076e7e75cce5b97d9ca847d3a38161626c6 /webAO/client/handleCharacterInfo.ts
parenta87d5a87167ee790b395f57eb5da19fbaa684537 (diff)
adding and removing works
Diffstat (limited to 'webAO/client/handleCharacterInfo.ts')
-rw-r--r--webAO/client/handleCharacterInfo.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/handleCharacterInfo.ts b/webAO/client/handleCharacterInfo.ts
index 86d1a09..cd024b5 100644
--- a/webAO/client/handleCharacterInfo.ts
+++ b/webAO/client/handleCharacterInfo.ts
@@ -6,7 +6,7 @@ import fileExists from "../utils/fileExists";
import { AO_HOST } from "./aoHost";
-const getCharIcon = async (img: HTMLImageElement, charname: string) => {
+export const getCharIcon = async (img: HTMLImageElement, charname: string) => {
const extensions = [".png", ".webp"];
img.alt = charname;
const charIconBaseUrl = `${AO_HOST}characters/${encodeURI(