mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-27 03:09:45 +02:00
change REST path on remote handle
This commit is contained in:
@ -76,7 +76,8 @@ class wTerm extends this.OS.GUI.BaseApplication
|
||||
@term.clear()
|
||||
@term.focus()
|
||||
proto = if window.location.protocol is "https:" then "wss://" else "ws://"
|
||||
@socket = new WebSocket proto + @_api.HOST + "/wterm"
|
||||
#@socket = new WebSocket proto + @_api.HOST + "/wterm"
|
||||
@socket = new WebSocket @_api.TERMURI
|
||||
@socket.onopen = () ->
|
||||
#el.style.display = "none"
|
||||
me.resizeContent (($ me.mterm).width()) , (($ me.mterm).height())
|
||||
|
Reference in New Issue
Block a user