switch the os to https

This commit is contained in:
Xuan Sang LE
2018-02-10 16:30:51 +01:00
parent 107e85e612
commit 3ed28e4fc1
2 changed files with 2 additions and 2 deletions

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 = "http://#{self.OS.API.HOST}/lua-api"
self.OS.API.REST = "https://#{self.OS.API.HOST}/lua-api"
_REST = self.OS.API.REST
self.OS.API.handler =