diff --git a/start/routes.ts b/start/routes.ts index fa7673c..36ccb63 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -106,9 +106,10 @@ Route.get("/api/log/showLog/:name?", async ({ request, response }) => { }); }); listLine.map((u) => { - // if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { + if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { + console.log(data[u - 1]) detectedLines.push(data[u - 1]); - // } + } }); // console.log(data) response.send(