Skip to content

Commit

Permalink
use another uri for cookieless (prebid#6572)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentproxistore authored and stsepelin committed May 28, 2021
1 parent f7dd70d commit 718073d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/proxistoreBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function _createServerRequest(bidRequests, bidderRequest) {

const endPointUri = payload.gdpr.consentGiven || !payload.gdpr.applies
? `https://abs.proxistore.com/${payload.language}/v3/rtb/prebid/multi`
: `https://abs.proxistore.com/${payload.language}/v3/rtb/prebid/multi/cookieless`;
: `https://abs.cookieless-proxistore.com/${payload.language}/v3/rtb/prebid/multi`;

return {
method: 'POST',
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/proxistoreBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('ProxistoreBidAdapter', function () {
const url = {
cookieBase: 'https://abs.proxistore.com/fr/v3/rtb/prebid/multi',
cookieLess:
'https://abs.proxistore.com/fr/v3/rtb/prebid/multi/cookieless',
'https://abs.cookieless-proxistore.com/fr/v3/rtb/prebid/multi',
};
let request = spec.buildRequests([bid], bidderRequest);
it('should return a valid object', function () {
Expand Down

0 comments on commit 718073d

Please sign in to comment.