Skip to content

Commit

Permalink
fix(agents): typo for opera browser
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Jan 19, 2025
1 parent cfaaf41 commit 38c5aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions agents/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const (
BrowserEdge Browser = "Edge"
BrowserFirefox Browser = "Firefox"
BrowserIE Browser = "IE"
BrowserOpera Browser = "pera"
BrowserOperaMini Browser = "Mini"
BrowserOpera Browser = "Opera"
BrowserOperaMini Browser = "Opera Mini"
BrowserSafari Browser = "Safari"
BrowserVivaldi Browser = "Vivaldi"
BrowserSamsung Browser = "Samsung Browser"
Expand Down
2 changes: 1 addition & 1 deletion internal/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var matchMap = map[Match][]string{
BrowserFirefox: {"FxiOS", string(agents.BrowserFirefox)},
BrowserIE: {"MSIE", "Trident"},
BrowserOpera: {"OPiOS", "OPR", string(agents.BrowserOpera)},
BrowserOperaMini: {string(agents.BrowserOperaMini)},
BrowserOperaMini: {"Mini"},
BrowserSafari: {string(agents.BrowserSafari), "AppleWebKit"},
BrowserVivaldi: {string(agents.BrowserVivaldi)},
BrowserSamsung: {"SamsungBrowser"},
Expand Down

0 comments on commit 38c5aa6

Please sign in to comment.