test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
编码猿
2025-09-09 23:49:03 +08:00
parent 4a2ba95d02
commit 41c8335f7f
2 changed files with 1 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ app.use((req, res, next) => {
/** /**
* 提供接口查询ubuntu server上的ipv6地址处理字符串后序列化为json返回. * 提供接口查询ubuntu server上的ipv6地址处理字符串后序列化为json返回.
* 案例: https://ip.bmycode.help/ip?interface=enp3s0 * 案例: https://ip.bmycode.help/ip?interface=enp3s0
* 参数: interface 网卡名称 * 参数: [可选] interface 网卡名称
*/ */
app.get('/ip', async (req, res) => { app.get('/ip', async (req, res) => {
let interface = req.query.interface || "enp3s0" let interface = req.query.interface || "enp3s0"

View File

@@ -42,18 +42,15 @@
&:first-child { &:first-child {
&::before { &::before {
content: "公网地址:"; content: "公网地址:";
margin-bottom: 5px;
display: inline-block; display: inline-block;
font-weight: 600; font-weight: 600;
} }
} }
&:last-child { &:last-child {
margin-top: 20px;
&:before { &:before {
content: "局域网地址:"; content: "局域网地址:";
margin-bottom: 5px;
display: inline-block; display: inline-block;
font-weight: 600; font-weight: 600;
} }