@nuskin/ns-util 4.10.0 → 4.10.1-it-27127.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -85,8 +85,8 @@ let getConfiguration = (url, country, domain, forceLoad = false, ignoreContext)
|
|
|
85
85
|
lastUrl = '';
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
// Override the config if we need to
|
|
89
|
-
if (needToOverride) {
|
|
88
|
+
// Override the config if we need to and if enabled in config
|
|
89
|
+
if (needToOverride && config.enableContextConfig === true) {
|
|
90
90
|
let contextUrl = domain + CONTEXT_CONFIG_URI.replace('{context}', shoppingContext.context).replace('{region}', mktRegionMapping[country]).replace('{country}', country);
|
|
91
91
|
$.ajax({
|
|
92
92
|
type: "GET",
|