luci-app-unblockneteasemusic-mini: fix typo

This commit is contained in:
CN_SZTL 2020-02-18 14:11:39 +08:00
parent 53ba5e520c
commit 2f97baf965
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
-- https://github.com/project-openwrt
mp = Map("unblockneteasemusic-mini", translate("解除网易云音乐播放限制 (Mini)"))
mp.description = translate("原理:采用 [QQ/酷狗/酷我/咕咪] 等音源,替换网易云音乐 无版权/收费 歌曲链接<br/>由 [CTCGFW]Project-OpenWrt & @hyird 提供服务器支持<br/>详细说明参见https://github.com/project-openwrt/luci-app-unblockneteasemusic-mini")
mp.description = translate("原理:采用 [QQ/酷狗/酷我/咕咪] 等音源,替换网易云音乐 无版权/收费 歌曲链接<br/>由 [CTCGFW]Project-OpenWrt & hyird 提供服务器支持<br/>详细说明参见https://github.com/project-openwrt/luci-app-unblockneteasemusic-mini")
mp:section(SimpleSection).template = "unblockneteasemusic-mini/unblockneteasemusic_mini_status"
@ -17,7 +17,7 @@ enable.rmempty = false
select_server = s:option(ListValue, "select_server", translate("服务端类型"))
select_server:value("tencent_shanghai_nodejs", translate("腾讯云上海 Node.js 版本(高音质)"))
select_server:value("tencent_beijing_nodejs", translate("腾讯云北京 Node.js 版本(高音质)"))
select_server:value("aliyun_beijing_nodejs", translate("阿里云北京 Node.js 版本(高音质)"))
select_server:value("tencent_shanghai_golang", translate("腾讯云上海 Golang 版本(低音质)"))
select_server.description = translate("Node.js版使用QQ、酷我、咪咕音源Golang版使用酷狗、酷我、咪咕音源")
select_server.default = "tencent_shanghai_nodejs"

View File

@ -14,7 +14,7 @@ if [ "${select_server}" = "tencent_shanghai_nodejs" ]; then
[ -z "${unblock_server_ip}" ] && unblock_server_ip="122.51.88.18"
unblock_server_http_port="30000"
unblock_server_https_port="30001"
elif [ "${select_server}" = "tencent_beijing_nodejs" ]; then
elif [ "${select_server}" = "aliyun_beijing_nodejs" ]; then
unblock_server_addr="hyird.xyz"
unblock_server_ip="$(ping "hyird.xyz" -c 1 | sed '1{s/[^(]*(//;s/).*//;q}')"
[ -z "${unblock_server_ip}" ] && unblock_server_ip="182.92.84.98"