diff --git a/index.js b/index.js index d884a77..b4f9cec 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,7 @@ const express = require('express') const app = express() app.get('/ip', async (req, res) => { + let output = execSync(command, { encoding: "utf8" }); // let output = `2: enp3s0: mtu 1500 qdisc mq state UP group default qlen 1000 // inet6 240e:362:2245:9b00::68c/128 scope global dynamic noprefixroute