diff --git a/server.js b/server.js index 06ebe68..e6d9364 100644 --- a/server.js +++ b/server.js @@ -52,7 +52,18 @@ setInterval(function () { console.log("end"); }); }); -}, 60000); +}, 60000); + +setInterval(function () { + http.get("http://localhost/api/check-logs", res => { + res.on("data", d => { + + }); + res.on("end", () => { + console.log("end"); + }); + }); +}, 60000); request.get({ url: "http://localhost/api/re-gen-feature",