Skip to content

Commit b331d9b

Browse files
committed
Fix iframe info receiver using wrong url
1 parent d2447fc commit b331d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/info-iframe-receiver.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ var inherits = require('inherits')
77
, InfoAjax = require('./info-ajax')
88
;
99

10-
function InfoReceiverIframe(transUrl, baseUrl) {
10+
function InfoReceiverIframe(transUrl) {
1111
var self = this;
1212
EventEmitter.call(this);
1313

14-
this.ir = new InfoAjax(baseUrl, XHRLocalObject);
14+
this.ir = new InfoAjax(transUrl, XHRLocalObject);
1515
this.ir.once('finish', function(info, rtt) {
1616
self.ir = null;
1717
self.emit('message', JSON3.stringify([info, rtt]));

0 commit comments

Comments
 (0)