better defaults
This commit is contained in:
@@ -54,7 +54,7 @@ func getCountryFromHost(host string) string {
|
||||
if strings.Contains(strings.ToLower(host), "-se") {
|
||||
return "se"
|
||||
}
|
||||
return ""
|
||||
return "se"
|
||||
}
|
||||
|
||||
type MutationContext struct {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user