Skip to content

Commit 803a08a

Browse files
committed
feat: config is accessible from socket.config
1 parent 17f0a5d commit 803a08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const CoCreateApi = {
1212
init: function({name, component}) {
1313
this.register(name || component.name, component);
1414
if (!socketApi.sockets.size)
15-
socketApi.create(window.config);
15+
socketApi.create();
1616
},
1717

1818
register: function(name, component) {

0 commit comments

Comments
 (0)