aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fetchLists.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/fetchLists.ts')
-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) {