Skip to content

Commit

Permalink
bugfix prebid#2691
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbert committed Jun 7, 2018
1 parent 12f96e2 commit 9786968
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/justpremiumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { registerBidder } from 'src/adapters/bidderFactory'
import { getTopWindowLocation } from 'src/utils'

const BIDDER_CODE = 'justpremium'
const ENDPOINT_URL = getTopWindowLocation().protocol + '//pre.ads.justpremium.com/v/2.0/t/xhr'
// const ENDPOINT_URL = getTopWindowLocation().protocol + '//pre.ads.justpremium.com/v/2.0/t/xhr'
var ENDPOINT_URL = top.document.location.protocol + '//h.jpdev:9191/v/2.0/t/xhr';
const pixels = []

export const spec = {
Expand Down Expand Up @@ -72,7 +73,8 @@ export const spec = {
cpm: bid.price,
netRevenue: true,
currency: bid.currency || 'USD',
ttl: bid.ttl || spec.time
ttl: bid.ttl || spec.time,
format: bid.format
}
bidResponses.push(bidResponse)
}
Expand Down

0 comments on commit 9786968

Please sign in to comment.