implemented detailed endpoint
This commit is contained in:
@@ -7,12 +7,12 @@ const { spawn, exec } = require("node:child_process")
|
||||
// })
|
||||
|
||||
|
||||
exec("echo '99999.incompass.netstar-inc.com' | bin/gcf1check.sh etc check_categorize_hybrid", { cwd: '/usr/local/gcf1' }, (error, stdout, stderr)=>{
|
||||
exec("echo 'li12.pages.dev' | bin/gcf1check.sh etc check_categorize_hybrid", { cwd: '/usr/local/gcf1' }, (error, stdout, stderr)=>{
|
||||
if (error) {
|
||||
console.error(error)
|
||||
return
|
||||
}
|
||||
|
||||
console.log(stdout.trim())
|
||||
console.log(stdout.trim().split(/\t|\s{2,}/))
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user