whitespace fixes

This commit is contained in:
kaso17
2017-09-01 17:32:20 +02:00
parent 3790cbb894
commit 222fec2fd0

View File

@@ -31,7 +31,7 @@ namespace Jackett.Services
Uri ConvertToProxyLink(Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t.torrent"); Uri ConvertToProxyLink(Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t.torrent");
string BasePath(); string BasePath();
string GetServerUrl(HttpRequestMessage Request); string GetServerUrl(HttpRequestMessage Request);
List<string> notices { get; } List<string> notices { get; }
} }
public class ServerService : IServerService public class ServerService : IServerService
@@ -366,7 +366,6 @@ namespace Jackett.Services
if (X_Forwarded_Proto != null) if (X_Forwarded_Proto != null)
{ {
scheme = X_Forwarded_Proto.First(); scheme = X_Forwarded_Proto.First();
} }
// Front-End-Https: Non-standard header field used by Microsoft applications and load-balancers // Front-End-Https: Non-standard header field used by Microsoft applications and load-balancers
else if (Request.Headers.Where(x => x.Key == "Front-End-Https" && x.Value.FirstOrDefault() == "on").Any()) else if (Request.Headers.Where(x => x.Key == "Front-End-Https" && x.Value.FirstOrDefault() == "on").Any())