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

This commit is contained in:
编码猿
2025-10-09 04:42:59 +08:00
parent 2fa1456e5e
commit 72f5679140
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -101,7 +101,7 @@
}, },
methods: { methods: {
async getIp() { async getIp() {
let { data } = await axios.get('https://ip.bmycode.help/ip'); let { data } = await axios.get('/ip');
return data return data
}, },
async copyToClipboard(text) { async copyToClipboard(text) {