Update 'luasrc/model/cbi/gotify.lua'

main
ben 1 year ago
parent 5ce787688d
commit 323c49ee62

@ -7,8 +7,8 @@ local gotify_model = require "luci.model.gotify"
local m, s, o
m = taskd.docker_map("gotify", "gotify", "/usr/libexec/apps/gotify/gotify.sh",
translate("gotify"),
translate("a simple server for sending and receiving messages.")
translate("Gotify"),
translate("A simple server for sending and receiving messages.")
.. translate("Official website:") .. ' <a href=\"https://gotify.net/\" target=\"_blank\">https://gotify.net/</a>')
s = m:section(SimpleSection, translate("Service Status"), translate("gotify status:"))
@ -35,8 +35,8 @@ local home = gotify_model.home()
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
o:value("/opt/docker2/compose/Config/gotify", "/opt/docker2/compose/Config/gotify")
o.default = "/opt/docker2/compose/Config/gotify"
o:value("/opt/docker2/compose/gotify-app", "/opt/docker2/compose/gotify-app")
o.default = "/opt/docker2/compose/gotify-app"
local paths, default_path = gotify_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do

Loading…
Cancel
Save