Update 'server.js'
This commit is contained in:
parent
ff92ef577b
commit
37b544d280
11
server.js
11
server.js
|
@ -54,6 +54,17 @@ setInterval(function () {
|
||||||
});
|
});
|
||||||
}, 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",
|
||||||
json: true,
|
json: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user