Improve crawler reliability and update project management rules
This commit is contained in:
1 parent
0cead18c80
commit
93a67f4cfa
4 files changed
+123
-80
No files matched your search
+5
-3
@@ -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