mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
switch the os to https
This commit is contained in:
parent
107e85e612
commit
3ed28e4fc1
@ -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 =
|
||||
|
@ -57,7 +57,7 @@ class wTerm extends this.OS.GUI.BaseApplication
|
||||
me = @
|
||||
@term.clear()
|
||||
@term.focus()
|
||||
@socket = new WebSocket "ws://" + @_api.HOST + "/wterm"
|
||||
@socket = new WebSocket "wss://" + @_api.HOST + "/wterm"
|
||||
@socket.onopen = () ->
|
||||
#el.style.display = "none"
|
||||
me.resizeContent (($ me.mterm).width()) , (($ me.mterm).height())
|
||||
|
Loading…
Reference in New Issue
Block a user