Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored Jul 9, 2024
1 parent ccabb94 commit 9fe327b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/riseUtils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ export function isSyncMethodAllowed(syncRule, bidderCode) {
return isInclude && contains(bidders, bidderCode);
}

export function getEndpoint(testMode) {
export function getEndpoint(testMode, baseUrl) {
return testMode
? 'https://hb.stngo.com/hb-multi-test'
: 'https://hb.stngo.com/hb-multi';
? `${baseUrl}hb-multi-test`
: `${baseUrl}hb-multi`;
}

export function getDeviceType(ua) {
Expand Down

0 comments on commit 9fe327b

Please sign in to comment.