aboutsummaryrefslogtreecommitdiff
path: root/webAO/utils/aoml.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-23 22:25:15 +0100
committerGitHub <noreply@github.com>2022-03-23 22:25:15 +0100
commitffa23343e0a0badd9e50a005359fdb79efead995 (patch)
treeb5991b499685bd94890fae7f321570044fafaf2c /webAO/utils/aoml.ts
parent30b4e3e8c84ce3f980fe895d4c64800fc7f00ece (diff)
parent93212647c7775358ecd7366423d706a5efae95dc (diff)
Merge pull request #128 from AttorneyOnline/sypetcript
Sypetcript
Diffstat (limited to 'webAO/utils/aoml.ts')
-rw-r--r--webAO/utils/aoml.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/utils/aoml.ts b/webAO/utils/aoml.ts
index da66d0c..154274d 100644
--- a/webAO/utils/aoml.ts
+++ b/webAO/utils/aoml.ts
@@ -32,7 +32,7 @@ const aomlParser = (text: string) => {
return parsed
}
-const mlConfig = (AO_HOST) => {
+const mlConfig = (AO_HOST: string) => {
const defaultUrl = `${AO_HOST}themes/default/chat_config.ini`
let aomlParsed: Promise<{[key: string]: Aoml}> = request(defaultUrl).then((data) => aomlParser(data));