Fix: better logging for when protocol isn't found on
This commit is contained in:
parent
5f1624b9e1
commit
3685f7d195
|
|
@ -143,8 +143,11 @@ private extension ReCaptcha.Config {
|
|||
return url
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
print("⚠️ WARNING! Protocol not found for ReCaptcha domain (\(url))! You should add http:// or https:// to it!")
|
||||
#endif
|
||||
|
||||
if let fixedURL = URL(string: "http://" + url.absoluteString) {
|
||||
debugPrint("[ReCaptcha] - Prepending 'http://' to url (\(url))")
|
||||
return fixedURL
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue