better defaults
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 57s
Build and Publish / BuildAndDeployArm64 (push) Successful in 9m4s

This commit is contained in:
matst80
2026-01-24 17:05:16 +01:00
parent 81609d6c20
commit 571f4f40cb
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ func getCountryFromHost(host string) string {
if strings.Contains(strings.ToLower(host), "-se") { if strings.Contains(strings.ToLower(host), "-se") {
return "se" return "se"
} }
return "" return "se"
} }
type MutationContext struct { type MutationContext struct {

View File

@@ -23,7 +23,7 @@ func getBaseUrl(country string) string {
if country == "se" { if country == "se" {
return "http://s10n-se.s10n:8080" 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) { func FetchItem(ctx context.Context, sku string, country string) (*index.DataItem, error) {