mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 15:30:41 +09:00
Fixed remoteMap trying to connect to localhost
This commit is contained in:
1 parent
625f88c63e
commit
b5a9ac3212
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ function getParameterByName(name, url) {
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
var socket = io.connect('http://localhost:8080');
|
||||
var socket = io.connect(document.location.origin);
|
||||
socket.on('hello', function (data) {
|
||||
console.log(data);
|
||||
socket.emit("registerMapRequester", {instanceID: getParameterByName("instanceID")});
|
||||
|
||||
Reference in new issue
Block a user