Closed cngzsunny closed 5 months ago
dev换了
用dev分支的myip.htm替换现在运行时的文件搞定了
遇到了同样的问题,请问最终的解决办法是用哪个文件替换哪个文件?
if [ -d "/usr/lib/lua/luci/view/openclash" ]; then
cd /usr/lib/lua/luci/view/openclash
cp -rp myip.htm myip.htm.$(date +%Y-%m-%d_%H-%M-%S)
curl -L https://github.com/vernesong/OpenClash/raw/dev/luci-app-openclash/luasrc/view/openclash/myip.htm -O myip.htm
ls -lsa /usr/lib/lua/luci/view/openclash|grep myip
fi
@animo66 直接执行代码即可
Verify Steps
OpenClash Version
v0.46.003-beta
Bug on Environment
Official OpenWrt
OpenWrt Version
23.05.3
Bug on Platform
Linux-arm64
Describe the Bug
打开首页,在IP地址栏目里面,IP.TB 这项一直显示 查询中……
To Reproduce
打开首页,在IP地址栏目里面,IP.TB 这项一直显示 查询中……
OpenClash Log
OpenClash Config
No response
Expected Behavior
打开首页,在IP地址栏目里面,IP.TB 应该能够显示国内IP,或者换做其他显示国内IP的提供商。
用Chrome检查页面操作,这里是访问https://www.taobao.com/help/getip.php?callback=ipCallback来获取国内IP地址,但返回是403代码,应该是淘宝那边ban了这个访问了
Additional Context
No response