
* v2ray-core:Add v2ray-core self compilation Network ---> Project V ---> <*> v2ray-core You can custom the features in "V2Ray Configuration" option. * luci-app-ssr-plus 0.Add v2ray-core 1.Makefile Standard install 2.Fix vmess v2ray 3.Optimize update scripts 4.Add ad filter (not enabled) 5.Code formatting 6.Clear basic data * luci-app-ssr-plus:Add ad filter settings UI * luci-app-ssr-plus:Fix Filter invalid nodes * luci-app-ssr-plus:update china_ssr.txt * luci-app-ssr-plus:Fix
18 lines
298 B
Lua
18 lines
298 B
Lua
f = SimpleForm("logview")
|
|
f.reset = false
|
|
f.submit = false
|
|
t = f:field(TextValue, "conf")
|
|
t.rmempty = true
|
|
t.rows = 20
|
|
function t.cfgvalue()
|
|
local logs = luci.util.execi("cat /tmp/ssrplus.log")
|
|
local s = ""
|
|
for line in logs do
|
|
s = line .. "\n" .. s
|
|
end
|
|
return s
|
|
end
|
|
t.readonly="readonly"
|
|
|
|
return f
|