@ikas/storefront 0.0.62 → 0.0.63
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/build/index.es.js +1 -5
- package/build/index.js +1 -5
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -10891,12 +10891,8 @@ var Apollo = /** @class */ (function () {
|
|
|
10891
10891
|
headers: newHeaders,
|
|
10892
10892
|
};
|
|
10893
10893
|
});
|
|
10894
|
-
var hostname = typeof window !== "undefined" ? window.location.hostname : null;
|
|
10895
10894
|
var httpLink = createHttpLink({
|
|
10896
|
-
uri: IkasStorefrontConfig.apiUrlOverride ||
|
|
10897
|
-
(hostname && hostname !== "localhost"
|
|
10898
|
-
? "https://" + hostname + "/api/sf/graphql"
|
|
10899
|
-
: process.env.NEXT_PUBLIC_GQL_URL),
|
|
10895
|
+
uri: IkasStorefrontConfig.apiUrlOverride || process.env.NEXT_PUBLIC_GQL_URL,
|
|
10900
10896
|
});
|
|
10901
10897
|
_this._client = new ApolloClient({
|
|
10902
10898
|
link: authLink.concat(httpLink),
|
package/build/index.js
CHANGED
|
@@ -10903,12 +10903,8 @@ var Apollo = /** @class */ (function () {
|
|
|
10903
10903
|
headers: newHeaders,
|
|
10904
10904
|
};
|
|
10905
10905
|
});
|
|
10906
|
-
var hostname = typeof window !== "undefined" ? window.location.hostname : null;
|
|
10907
10906
|
var httpLink = createHttpLink({
|
|
10908
|
-
uri: IkasStorefrontConfig.apiUrlOverride ||
|
|
10909
|
-
(hostname && hostname !== "localhost"
|
|
10910
|
-
? "https://" + hostname + "/api/sf/graphql"
|
|
10911
|
-
: process.env.NEXT_PUBLIC_GQL_URL),
|
|
10907
|
+
uri: IkasStorefrontConfig.apiUrlOverride || process.env.NEXT_PUBLIC_GQL_URL,
|
|
10912
10908
|
});
|
|
10913
10909
|
_this._client = new ApolloClient({
|
|
10914
10910
|
link: authLink.concat(httpLink),
|