Use HTTPS for the poster images, so there aren't any mixed content

warnings when serving the application via an HTTPS reverse proxy
This commit is contained in:
Sean Callinan 2016-05-28 10:15:25 +12:00 committed by Sean Callinan
parent 605878700d
commit 01a2bb3adc
3 changed files with 3 additions and 3 deletions

View file

@ -473,7 +473,7 @@ namespace PlexRequests.UI.Modules
Type = RequestType.Movie,
Overview = movieInfo.Overview,
ImdbId = movieInfo.ImdbId,
PosterPath = "http://image.tmdb.org/t/p/w150/" + movieInfo.PosterPath,
PosterPath = "https://image.tmdb.org/t/p/w150/" + movieInfo.PosterPath,
Title = movieInfo.Title,
ReleaseDate = movieInfo.ReleaseDate ?? DateTime.MinValue,
Status = movieInfo.Status,

View file

@ -132,7 +132,7 @@
<div class="col-sm-2">
{{#if_eq type "movie"}}
{{#if posterPath}}
<img class="img-responsive" src="http://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
<img class="img-responsive" src="https://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
{{#if_eq type "tv"}}

View file

@ -144,7 +144,7 @@
{{#if_eq type "movie"}}
{{#if posterPath}}
<img class="img-responsive" src="http://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
<img class="img-responsive" src="https://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
{{#if_eq type "tv"}}