create function findValue
This commit is contained in:
parent
c53ef4057d
commit
5b2e651700
|
|
@ -189,13 +189,14 @@ Route.post("/api/find-value", async ({ request, response }) => {
|
|||
}
|
||||
console.log("stdout ", stdout)
|
||||
setTimeout(() => {
|
||||
response.status(200).send(stdout.length);
|
||||
response.status(200).send("success");
|
||||
}, 2000);
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
})
|
||||
|
||||
Route.post("/api/test", async () => {
|
||||
try {
|
||||
const logs = await Cache.get('logs')
|
||||
|
|
|
|||
Loading…
Reference in New Issue