mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 10:39:46 +02:00
new wvnc app
This commit is contained in:
@ -3,7 +3,7 @@ BaseController:subclass("MarkOnController", {
|
||||
})
|
||||
|
||||
function MarkOnController:index( ... )
|
||||
self.template:set("jsclass", "MarkOn")
|
||||
self.template:set("args", "['MarkOn']")
|
||||
return true
|
||||
end
|
||||
|
||||
|
13
apps/controllers/WvncController.lua
Normal file
13
apps/controllers/WvncController.lua
Normal file
@ -0,0 +1,13 @@
|
||||
BaseController:subclass("WvncController", {
|
||||
registry = {}
|
||||
})
|
||||
|
||||
function WvncController:index( ... )
|
||||
self.template:set("args", "['WVNC', 'wss://localhost:9195/wvnc']")
|
||||
return true
|
||||
end
|
||||
|
||||
function WvncController:actionnotfound(...)
|
||||
self.template:setView("index")
|
||||
return self:index(table.unpack({...}))
|
||||
end
|
Reference in New Issue
Block a user