% local uci=require"luci.model.uci".cursor() local isonlyoneprot = uci:get("gecoosac", "config", "isonlyoneprot") or "1" local https = uci:get("gecoosac", "config", "https") or "0" local port = uci:get("gecoosac", "config", "port") or "60650" local m_port = uci:get("gecoosac", "config", "m_port") or "8080" local http = "http://" if isonlyoneprot == "0" then port = m_port if https == "1" then http = "https://" end end -%>