Skip to content

Commit

Permalink
StroeerCore Bid Adapter: remove 'ssl' flag from the request payload (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwatson committed Jun 4, 2024
1 parent 3e2df8d commit 62b1bea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions modules/stroeerCoreBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const spec = {
const basePayload = {
id: generateUUID(),
ref: refererInfo.ref,
ssl: isSecureWindow(),
mpa: isMainPageAccessible(),
timeout: bidderRequest.timeout - (Date.now() - bidderRequest.auctionStart),
url: refererInfo.page,
Expand Down Expand Up @@ -147,8 +146,6 @@ export const spec = {
}
};

const isSecureWindow = () => getWindowSelf().location.protocol === 'https:';

const isMainPageAccessible = () => {
try {
return !!getWindowTop().location.href;
Expand Down
1 change: 0 additions & 1 deletion test/spec/modules/stroeerCoreBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ describe('stroeerCore bid adapter', function () {
'timeout': expectedTimeout,
'ref': 'https://www.example.com/?search=monkey',
'mpa': true,
'ssl': false,
'url': 'https://www.example.com/monkey/index.html',
'bids': [{
'sid': 'NDA=',
Expand Down

0 comments on commit 62b1bea

Please sign in to comment.