aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-12-11 16:28:42 +0100
committerstonedDiscord <Tukz@gmx.de>2022-12-11 16:28:42 +0100
commit74f4a34a8c8173863f96fbc03bb9026930219623 (patch)
treed11a0f10865b0f666a97d17954d1fc7fa0971a8f /webAO/client
parentb570cfa8c9a8c878b0112d5b93d884e3eb3a28ef (diff)
store manifest in client
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/fetchLists.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/client/fetchLists.ts b/webAO/client/fetchLists.ts
index cedd744..9efd181 100644
--- a/webAO/client/fetchLists.ts
+++ b/webAO/client/fetchLists.ts
@@ -1,3 +1,4 @@
+import { client } from "../client";
import { AO_HOST } from "./aoHost";
import { request } from "../services/request.js";
@@ -67,7 +68,7 @@ export const fetchEvidenceList = async () => {
export const fetchManifest = async () => {
try {
const manifestdata = await request(`${AO_HOST}manifest.txt`);
- const manifest_array = manifestdata.split(/\r\n|\n\r|\n|\r/);
+ client.manifest = manifestdata.split(/\r\n|\n\r|\n|\r/);
// the try catch will fail before here when there is no file
} catch (err) {