With the understanding that most people will not have a valid cert or self signed cert I have disabled the SSL warnings.

Added a SSL option to the Plex settings and added unit test to cover this.
This commit is contained in:
Jamie Rees 2016-03-17 20:36:27 +00:00
parent 07b42ffd50
commit e6d67c7320
6 changed files with 41 additions and 8 deletions

View file

@ -35,13 +35,14 @@ namespace PlexRequests.Core.SettingModels
{
public string Ip { get; set; }
public int Port { get; set; }
public bool Ssl { get; set; }
[JsonIgnore]
public Uri FullUri
{
get
{
var formatted = Ip.ReturnUri(Port);
var formatted = Ip.ReturnUri(Port, Ssl);
return formatted;
}
}