summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua')
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
index 5fc20c52bc..5e272e282e 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
@@ -154,7 +154,7 @@ function cfgvalue_overview(sdata)
local value = {
[".name"] = sname,
name = '%s.<var>%s</var>' % {stype, sname},
- overview = table.concat(lines, "</br>"),
+ overview = table.concat(lines, "<br />"),
disabled = ucival_to_bool(sdata["disabled"]),
}
return key, value
@@ -199,8 +199,8 @@ function option_install_package(s, tab)
function p_install.write()
return luci.http.redirect(
- luci.dispatcher.build_url("admin/system/packages") ..
- "?submit=1&install=%s" % opkg_package
+ luci.dispatcher.build_url("admin/system/opkg") ..
+ "?query=%s" % opkg_package
)
end
end