Skip to content

Commit

Permalink
Use https for peach.ebu.io as it's mandatoy
Browse files Browse the repository at this point in the history
  • Loading branch information
pyby committed Aug 30, 2019
1 parent de988cd commit eef116d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ else if (index == -1 && clipUrns.size() == 0) {
}

private RecommendedList rtsVideoRecommendedList(String purpose, String urn, boolean standalone) {
UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.newInstance().scheme("http")
UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.newInstance().scheme("https")
.host("peach.ebu.io").path("api/v1/chrts/continuous_playback_mobile");
uriComponentsBuilder.queryParam("urn", urn);
uriComponentsBuilder.queryParam("purpose", purpose);
Expand All @@ -183,7 +183,7 @@ private RecommendedList rtsVideoRecommendedList(String purpose, String urn, bool
}

public RecommendedList rtsPlayHomePersonalRecommendation(String userId) {
UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.newInstance().scheme("http")
UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.newInstance().scheme("https")
.host("peach.ebu.io").path("api/v1/chrts/play_home_personal_rec");
uriComponentsBuilder.queryParam("user_id", userId);
UriComponents url = uriComponentsBuilder.build();
Expand Down

0 comments on commit eef116d

Please sign in to comment.