diff --git a/start/routes.ts b/start/routes.ts index 549fcb0..2c5be22 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -104,7 +104,7 @@ Route.get("/api/log/showLog/:name?", async ({ request, response }) => { }); }); listLine.map((u) => { - if (listExcludeErr.filter((err) => u.includes(err)).length === 0) { + if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { detectedLines.push(data[u - 1]); } });