This commit is contained in:
Jason Hunter 2024-06-23 23:31:41 -04:00
parent c750910a73
commit 5289528c3d

View File

@ -154,9 +154,7 @@ export function parseLogLines(logService: LogType, logs: string[]) {
line.indexOf("Started") !== -1 || line.indexOf("Started") !== -1 ||
line.indexOf("Uvicorn") !== -1; line.indexOf("Uvicorn") !== -1;
const api = !!httpMethods.exec(line); const api = !!httpMethods.exec(line);
const tag = startup const tag = startup ? "startup" : api ? "API" : "server";
? "startup"
: api ? "API" : "server";
return { return {
dateStamp: match.toString().slice(1, -1), dateStamp: match.toString().slice(1, -1),