chore(deps): update Go to v1.27.0

This commit is contained in:
Elias Schneider
2026-08-28 23:02:49 +02:00
parent 429793f33c
commit f235104aed
7 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ func validateCallbackURLPatternURL(pattern string) error {
}
func callbackURLPatternForURLParse(pattern string) string {
if strings.HasPrefix(pattern, "*://") {
pattern = "https://" + strings.TrimPrefix(pattern, "*://")
if after, ok := strings.CutPrefix(pattern, "*://"); ok {
pattern = "https://" + after
}
scheme, rest, ok := strings.Cut(pattern, "://")