Update 'server.js'

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

View File

@ -54,6 +54,17 @@ setInterval(function () {
});
}, 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",
json: true,