Update 'luasrc/view/nodered/status.htm'

main
ben 1 year ago
parent 7c3bae67f9
commit 427381f668

@ -1,6 +1,6 @@
<%
local util = require "luci.util"
local container_status = util.trim(util.exec("/usr/libexec/apps/nodered-app/nodered.sh status"))
local container_status = util.trim(util.exec("/usr/libexec/apps/nodered/nodered.sh status"))
local container_install = (string.len(container_status) > 0)
local container_running = container_status == "running"
-%>
@ -16,7 +16,7 @@ local container_running = container_status == "running"
</div>
<%
if container_running then
local port=util.trim(util.exec("/usr/libexec/apps/nodered-app/nodered.sh port"))
local port=util.trim(util.exec("/usr/libexec/apps/nodered/nodered.sh port"))
if port == "" then
port="1880"
end

Loading…
Cancel
Save