mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #22
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:
parent
07b42ffd50
commit
e6d67c7320
6 changed files with 41 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue