Skip to content

Commit

Permalink
change clickforce host url (prebid#5061)
Browse files Browse the repository at this point in the history
  • Loading branch information
MIGOdanis committed Apr 1, 2020
1 parent 83a362c commit 5af6c64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modules/clickforceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as utils from '../src/utils.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import {BANNER, NATIVE} from '../src/mediaTypes.js';
const BIDDER_CODE = 'clickforce';
const ENDPOINT_URL = 'https://ad.doublemax.net/adserver/prebid.json?cb=' + new Date().getTime() + '&hb=1&ver=1.21';
const ENDPOINT_URL = 'https://ad.holmesmind.com/adserver/prebid.json?cb=' + new Date().getTime() + '&hb=1&ver=1.21';

export const spec = {
code: BIDDER_CODE,
Expand Down Expand Up @@ -112,12 +112,12 @@ export const spec = {
if (syncOptions.iframeEnabled) {
return [{
type: 'iframe',
url: 'https://cdn.doublemax.net/js/capmapping.htm'
url: 'https://cdn.holmesmind.com/js/capmapping.htm'
}]
} else if (syncOptions.pixelEnabled) {
return [{
type: 'image',
url: 'https://c.doublemax.net/cm'
url: 'https://c.holmesmind.com/cm'
}]
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/clickforceBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('ClickforceAdapter', function () {
}
let userSync = spec.getUserSyncs(syncOptions);
expect(userSync[0].type).to.equal('iframe');
expect(userSync[0].url).to.equal('https://cdn.doublemax.net/js/capmapping.htm');
expect(userSync[0].url).to.equal('https://cdn.holmesmind.com/js/capmapping.htm');
});

it('should register type is image', function () {
Expand All @@ -184,7 +184,7 @@ describe('ClickforceAdapter', function () {
}
let userSync = spec.getUserSyncs(syncOptions);
expect(userSync[0].type).to.equal('image');
expect(userSync[0].url).to.equal('https://c.doublemax.net/cm');
expect(userSync[0].url).to.equal('https://c.holmesmind.com/cm');
});
});
});

0 comments on commit 5af6c64

Please sign in to comment.