This commit is contained in:
1
index.js
1
index.js
@@ -6,6 +6,7 @@ const express = require('express')
|
|||||||
const app = express()
|
const app = express()
|
||||||
|
|
||||||
app.get('/ip', async (req, res) => {
|
app.get('/ip', async (req, res) => {
|
||||||
|
|
||||||
let output = execSync(command, { encoding: "utf8" });
|
let output = execSync(command, { encoding: "utf8" });
|
||||||
// let output = `2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
// let output = `2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
||||||
// inet6 240e:362:2245:9b00::68c/128 scope global dynamic noprefixroute
|
// inet6 240e:362:2245:9b00::68c/128 scope global dynamic noprefixroute
|
||||||
|
|||||||
Reference in New Issue
Block a user