Improve crawler reliability and update project management rules

This commit is contained in:
2026-02-25 17:53:36 +09:00
parent 0cead18c80
commit 93a67f4cfa
4 changed files with 123 additions and 80 deletions

View File

@@ -306,8 +306,7 @@
}
try {
const apiHost = window.location.hostname;
const response = await fetch(`http://${apiHost}:8001/sync`);
const response = await fetch(`/sync`);
const reader = response.body.getReader();
const decoder = new TextDecoder();
@@ -334,7 +333,10 @@
);
if (target) {
target[3] = scrapedItem.recentLog;
// 기존 데이터 유지 마커 확인
if (scrapedItem.recentLog !== "기존데이터유지") {
target[3] = scrapedItem.recentLog;
}
target[4] = scrapedItem.fileCount;
}
});