We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a569b commit 19eccd8Copy full SHA for 19eccd8
bundles/socket/public/js/bootstrap.js
@@ -34,7 +34,7 @@ class SocketStore {
34
*/
35
async build() {
36
// Run socket
37
- this.socket = io.connect(store.get('config').socket.url, store.get('config').socket.params);
+ this.socket = io.connect(`//${window.location.hostname}`, store.get('config.socket.params') || {});
38
39
// socket on
40
this.socket.on('connect', () => {
0 commit comments