Skip to content

Commit

Permalink
Simplify code. (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbritch committed May 15, 2024
1 parent 520941b commit 0c3ebd1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ public bool Verify(string hostname, Javax.Net.Ssl.ISSLSession session)
#elif IOS
public bool IsHttpsLocalhost(NSUrlSessionHandler sender, string url, Security.SecTrust trust)
{
if (url.StartsWith("https://localhost"))
return true;
return false;
return url.StartsWith("https://localhost");
}
#endif
}
Expand Down

0 comments on commit 0c3ebd1

Please sign in to comment.