diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..48b7711 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.buildpath +.project +.settings/org.eclipse.php.core.prefs \ No newline at end of file diff --git a/applications/Sender/Web/js/sender.js b/applications/Sender/Web/js/sender.js index 78021fa..2eec309 100644 --- a/applications/Sender/Web/js/sender.js +++ b/applications/Sender/Web/js/sender.js @@ -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"}));