Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Used wrong locale for urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmarmour committed Sep 30, 2020
1 parent ee28c37 commit bb49f2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/nvidia-clerk/nvidia-clerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ func main() {
var cartURL string
switch model {
case "2060":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/20-series/", config.Locale)
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/20-series/", config.NvidiaLocale)
case "3080":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.Locale, model)
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.NvidiaLocale, model)
case "3090":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.Locale, model)
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.NvidiaLocale, model)
default:
cartURL = "https://www.nvidia.com/"
}
Expand Down

0 comments on commit bb49f2c

Please sign in to comment.