OpenWrt_Luci_Lua/Mi_Lua/luci/controller/api/index.lua
2015-05-09 18:48:46 +08:00

11 lines
276 B
Lua

module("luci.controller.api.index", package.seeall)
function index()
local page = node("api")
page.target = firstchild()
page.title = _("")
page.order = 10
page.sysauth = "admin"
page.sysauth_authenticator = "jsonauth"
page.index = true
end