1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 10:18:21 +01:00
antd-web-apps/apps/controllers/WvncController.lua

13 lines
331 B
Lua
Raw Normal View History

2018-09-17 19:43:24 +02:00
BaseController:subclass("WvncController", {
registry = {}
})
function WvncController:index( ... )
2018-09-18 19:53:00 +02:00
self.template:set("args", "['WVNC', 'wss://localhost:9195/wvnc', '#canvas']")
2018-09-17 19:43:24 +02:00
return true
end
function WvncController:actionnotfound(...)
self.template:setView("index")
return self:index(table.unpack({...}))
end