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

main
ben 1 year ago
parent 51a9aa058b
commit 1a81308c4f

@ -7,7 +7,7 @@ local whoogle_model = require "luci.model.whoogle"
local m, s, o
m = taskd.docker_map("whoogle", "whoogle", "/usr/libexec/apps/whoogle/whoogle.sh",
translate("whoogle"),
translate("Whoogle"),
translate("Whoogle is a free open-source self-hosted metasearch engine that allows you to search and get your Google results without ads, JavaScript trackers, or AMP links. It also ignores cookies, and does not perform any IP address tracking.")
.. translate("Official website:") .. ' <a href=\"https://hub.docker.com/r/benbusby/whoogle-search/\" target=\"_blank\">https://hub.docker.com/r/benbusby/whoogle-search/</a>')
@ -35,8 +35,8 @@ local home = whoogle_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", "/opt/docker2/compose/Config")
o.default = "/opt/docker2/compose/Config"
o:value("/opt/docker2/compose/whoogle-app", "/opt/docker2/compose/whoogle-app")
o.default = "/opt/docker2/compose/whoogle-app"
local paths, default_path = whoogle_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do

Loading…
Cancel
Save