|
@@ -15,7 +15,7 @@ $(document).ready(function() {
|
|
|
$('#connect').click(function() {
|
|
|
var source = $('#source').val();
|
|
|
|
|
|
- sink = new Peer({ apikey: 'abc', host: 'localhost', port: '9000', debug: true });
|
|
|
+ sink = new Peer({ host: 'localhost', port: '9000', debug: true });
|
|
|
sink.connect(source, { username: 'michelle' }, function(err, connection) {
|
|
|
x = connection;
|
|
|
console.log('got connection');
|