diff options
| author | stonedDiscord <Tukz@gmx.de> | 2024-08-07 19:33:35 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2024-08-07 19:33:35 +0200 |
| commit | 26d5691ce5d3840c458745409a70f196dc5474f3 (patch) | |
| tree | fdbd7076e7e75cce5b97d9ca847d3a38161626c6 /webAO/client | |
| parent | a87d5a87167ee790b395f57eb5da19fbaa684537 (diff) | |
adding and removing works
Diffstat (limited to 'webAO/client')
| -rw-r--r-- | webAO/client/handleCharacterInfo.ts | 2 |
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( |
