From 571f4f40cb7c6b2bd58e2e97737d2c128ed19df6 Mon Sep 17 00:00:00 2001 From: matst80 Date: Sat, 24 Jan 2026 17:05:16 +0100 Subject: [PATCH] better defaults --- cmd/cart/main.go | 2 +- cmd/cart/product-fetcher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cart/main.go b/cmd/cart/main.go index 33ad4ff..fca039b 100644 --- a/cmd/cart/main.go +++ b/cmd/cart/main.go @@ -54,7 +54,7 @@ func getCountryFromHost(host string) string { if strings.Contains(strings.ToLower(host), "-se") { return "se" } - return "" + return "se" } type MutationContext struct { diff --git a/cmd/cart/product-fetcher.go b/cmd/cart/product-fetcher.go index 12a9904..d0c3e97 100644 --- a/cmd/cart/product-fetcher.go +++ b/cmd/cart/product-fetcher.go @@ -23,7 +23,7 @@ func getBaseUrl(country string) string { if country == "se" { return "http://s10n-se.s10n:8080" } - return "http://localhost:8082" + return "http://s10n-se.s10n:8080" } func FetchItem(ctx context.Context, sku string, country string) (*index.DataItem, error) {