|
|
@ -35,8 +35,8 @@ local home = nodered_model.home()
|
|
|
|
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
|
|
|
|
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
|
|
|
|
o.rmempty = false
|
|
|
|
o.rmempty = false
|
|
|
|
o.datatype = "string"
|
|
|
|
o.datatype = "string"
|
|
|
|
o:value("/opt/docker2/compose/nodered", "/opt/docker2/compose/nodered")
|
|
|
|
o:value("/opt/docker2/compose/nodered-app", "/opt/docker2/compose/nodered-app")
|
|
|
|
o.default = "/opt/docker2/compose/nodered"
|
|
|
|
o.default = "/opt/docker2/compose/nodered-app"
|
|
|
|
|
|
|
|
|
|
|
|
local paths, default_path = nodered_model.find_paths(blocks, home, "Configs")
|
|
|
|
local paths, default_path = nodered_model.find_paths(blocks, home, "Configs")
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|
for _, val in pairs(paths) do
|
|
|
|