Open magnetic-pi opened 10 years ago
var s = new BCSocket('http://myserver.lan:7007/channel', {reconnect: true});
works, if you enable CORS in browserChannel:
// webserver.use browserChannel {webserver, sessionTimeoutInterval:5000}, (client) ->
webserver.use browserChannel {webserver, sessionTimeoutInterval:5000, cors:'*'}, (client) ->
In version 0.6.3 it was possible to specify the server location of the sharejs server (ex: http://192.168.1.1:8000) like:
I cannot figure out how to specify the url of the server in 0.7.0:
How can I specify the connection url like:
or
Neither of those worked.