mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-20 17:01:15 +00:00
fix: fix typo
This commit is contained in:
@@ -26,8 +26,8 @@ func SafeParseAppURL(str string) (string, error) {
|
||||
}
|
||||
|
||||
if u.Host == "" ||
|
||||
u.Scheme != "http" &&
|
||||
u.Scheme != "https" {
|
||||
(u.Scheme != "http" &&
|
||||
u.Scheme != "https") {
|
||||
return "", fmt.Errorf("invalid url, must be in format https(s)://host")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user