Skip to content

Commit

Permalink
fixe(domain): wildcard parse bug (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hvitgar committed Mar 6, 2024
1 parent 30792dc commit 27b723a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors.go
Expand Up @@ -138,7 +138,7 @@ func (c Config) parseWildcardRules() [][]string {
continue
}
if i == (len(o) - 1) {
wRules = append(wRules, []string{o[:i-1], "*"})
wRules = append(wRules, []string{o[:i], "*"})
continue
}

Expand Down

0 comments on commit 27b723a

Please sign in to comment.