Probably better to assume http instead of https

This commit is contained in:
James Magahern
2020-08-02 12:08:49 -07:00
parent 68072ac521
commit 5ff33db65b

View File

@@ -314,7 +314,7 @@ class BrowserViewController: UIViewController, WKNavigationDelegate,
var url = URL(string: text)
{
if url.scheme == nil {
let urlString = "https://\(text)"
let urlString = "http://\(text)"
if let fixedURL = URL(string: urlString) {
url = fixedURL
}