Improve crawler reliability and update project management rules
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user