Update 'server.js'

This commit is contained in:
dongpd 2021-06-04 09:37:40 +00:00
parent ff92ef577b
commit 37b544d280

View File

@ -52,7 +52,18 @@ setInterval(function () {
console.log("end"); 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({ request.get({
url: "http://localhost/api/re-gen-feature", url: "http://localhost/api/re-gen-feature",