fix hanfle

This commit is contained in:
Xuan Sang LE 2018-02-20 16:31:50 +01:00
parent 92e9de0aaf
commit 7a38d4ac38

View File

@ -1,5 +1,5 @@
self.OS.API.HOST = self.location.hostname+ (if self.location.port then":#{self.location.port}" else "")
self.OS.API.REST = "#{self.location.protocol}//#{self.OS.API.HOST}/lua-api"
self.OS.API.REST = "#{self.location.protocol}//#{self.OS.API.HOST}/lua-api/os"
_REST = self.OS.API.REST
self.OS.API.handler =