mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(terminal) location.origin -> CloudCmd.HOST
This commit is contained in:
parent
7d2ac96458
commit
efed814d2a
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ var CloudCmd, Util, DOM, CloudFunc, Terminal, io;
|
|||
}
|
||||
|
||||
function addListeners(callback) {
|
||||
var href = location.origin,
|
||||
var href = CloudCmd.HOST,
|
||||
FIVE_SECONDS = 5000,
|
||||
|
||||
socket = io.connect(href + '/terminal', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue