Skip to content

Commit

Permalink
[Edit BidAdapter] rxrtb adapter for Perbid.js 1.0 (#2182)
Browse files Browse the repository at this point in the history
* Add: rxrtb prebidAdapter

* Update: params for test

* Update: code format

* Update: code format

* Update: code format

* Fix param check

* Update rxrtbBidAdapter.js
  • Loading branch information
prebidRxRTB authored and Matt Kendall committed Feb 22, 2018
1 parent 32dccd4 commit 2775840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rxrtbBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function getDomain(url) {

function makePrebidRequest(req) {
let host = req.params.host || DEFAULT_HOST;
let url = window.location.protocol + '//' + host + '/dsp?id=' + req.params.id + '&token=' + req.params.token;
let url = '//' + host + '/dsp?id=' + req.params.id + '&token=' + req.params.token;
let reqData = makeRtbRequest(req);
return {
method: 'POST',
Expand Down

0 comments on commit 2775840

Please sign in to comment.