From 41c8335f7fc06be909bb3a7d10d193558b943431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Tue, 9 Sep 2025 23:49:03 +0800 Subject: [PATCH] test --- index.js | 2 +- public/index.html | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 6f0151b..0b35fe6 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ app.use((req, res, next) => { /** * 提供接口,查询ubuntu server上的ipv6地址,处理字符串后,序列化为json返回. * 案例: https://ip.bmycode.help/ip?interface=enp3s0 - * 参数: interface 网卡名称 + * 参数: [可选] interface 网卡名称 */ app.get('/ip', async (req, res) => { let interface = req.query.interface || "enp3s0" diff --git a/public/index.html b/public/index.html index b3d8a1e..0fea452 100644 --- a/public/index.html +++ b/public/index.html @@ -42,18 +42,15 @@ &:first-child { &::before { content: "公网地址:"; - margin-bottom: 5px; display: inline-block; font-weight: 600; } } &:last-child { - margin-top: 20px; &:before { content: "局域网地址:"; - margin-bottom: 5px; display: inline-block; font-weight: 600; }