Skip to content

Commit

Permalink
YIELDONE adapter - change urls to adapt https (prebid#4139)
Browse files Browse the repository at this point in the history
* update: change urls to adapt https

* fix test code
  • Loading branch information
koji-eguchi authored and bretg committed Sep 3, 2019
1 parent a49d89b commit 80cbd2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions modules/yieldoneBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Renderer } from '../src/Renderer';
import { BANNER, VIDEO } from '../src/mediaTypes';

const BIDDER_CODE = 'yieldone';
const ENDPOINT_URL = '//y.one.impact-ad.jp/h_bid';
const USER_SYNC_URL = '//y.one.impact-ad.jp/push_sync';
const VIDEO_PLAYER_URL = '//img.ak.impact-ad.jp/ic/pone/ivt/firstview/js/dac-video-prebid.min.js';
const ENDPOINT_URL = 'https://y.one.impact-ad.jp/h_bid';
const USER_SYNC_URL = 'https://y.one.impact-ad.jp/push_sync';
const VIDEO_PLAYER_URL = 'https://img.ak.impact-ad.jp/ic/pone/ivt/firstview/js/dac-video-prebid.min.js';

export const spec = {
code: BIDDER_CODE,
Expand Down
10 changes: 5 additions & 5 deletions test/spec/modules/yieldoneBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { expect } from 'chai';
import { spec } from 'modules/yieldoneBidAdapter';
import { newBidder } from 'src/adapters/bidderFactory';

const ENDPOINT = '//y.one.impact-ad.jp/h_bid';
const USER_SYNC_URL = '//y.one.impact-ad.jp/push_sync';
const VIDEO_PLAYER_URL = '//img.ak.impact-ad.jp/ic/pone/ivt/firstview/js/dac-video-prebid.min.js';
const ENDPOINT = 'https://y.one.impact-ad.jp/h_bid';
const USER_SYNC_URL = 'https://y.one.impact-ad.jp/push_sync';
const VIDEO_PLAYER_URL = 'https://img.ak.impact-ad.jp/ic/pone/ivt/firstview/js/dac-video-prebid.min.js';

describe('yieldoneBidAdapter', function() {
const adapter = newBidder(spec);
Expand Down Expand Up @@ -100,7 +100,7 @@ describe('yieldoneBidAdapter', function() {
let bidRequestBanner = [
{
'method': 'GET',
'url': '//y.one.impact-ad.jp/h_bid',
'url': 'https://y.one.impact-ad.jp/h_bid',
'data': {
'v': 'hb1',
'p': '36891',
Expand Down Expand Up @@ -164,7 +164,7 @@ describe('yieldoneBidAdapter', function() {
let bidRequestVideo = [
{
'method': 'GET',
'url': '//y.one.impact-ad.jp/h_bid',
'url': 'https://y.one.impact-ad.jp/h_bid',
'data': {
'v': 'hb1',
'p': '41993',
Expand Down

0 comments on commit 80cbd2c

Please sign in to comment.