From 72f5679140262d2751a1e79b13eea90534740012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Thu, 9 Oct 2025 04:42:59 +0800 Subject: [PATCH] 3333 --- index.js | 2 +- public/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 0b35fe6..5fa79ee 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ app.use((req, res, next) => { /** * 提供接口,查询ubuntu server上的ipv6地址,处理字符串后,序列化为json返回. - * 案例: https://ip.bmycode.help/ip?interface=enp3s0 + * 案例: https://ip.bbtlwlkj.top/ip?interface=enp3s0 * 参数: [可选] interface 网卡名称 */ app.get('/ip', async (req, res) => { diff --git a/public/index.html b/public/index.html index a4b0eb7..fdfc9dc 100644 --- a/public/index.html +++ b/public/index.html @@ -101,7 +101,7 @@ }, methods: { async getIp() { - let { data } = await axios.get('https://ip.bmycode.help/ip'); + let { data } = await axios.get('/ip'); return data }, async copyToClipboard(text) {