Skip to content

Commit

Permalink
js错误修复
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Apr 9, 2014
1 parent 663f44a commit 4bb3668
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.buildpath
.project
.settings/org.eclipse.php.core.prefs
2 changes: 1 addition & 1 deletion applications/Sender/Web/js/sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ if (!window.WEB_SOCKET_DISABLE_AUTO_INITIALIZATION) {
})();

// =====================================================
ws = new WebSocket("ws://"+window.location.host+":3232/");
ws = new WebSocket("ws://"+document.domain+":3232/");
// socket连接打开
ws.send(JSON.stringify({"type":"login","name":"xx"}));

Expand Down

0 comments on commit 4bb3668

Please sign in to comment.