@griddo/cx 1.73.17 → 1.73.19

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/gatsby-node.js CHANGED
@@ -21,6 +21,7 @@ require('dotenv').config();
21
21
  // Envs
22
22
  const baseUrl = process.env.API_URL;
23
23
  const publicBaseUrl = process.env.PUBLIC_API_URL;
24
+ const instance = process.env.REAT_APP_INSTANCE;
24
25
  const IS_SERVE = !!process.env.IS_SERVE && JSON.parse(process.env.IS_SERVE);
25
26
  const BUILD_MODE = process.env.CXBRANCH;
26
27
 
@@ -150,6 +151,7 @@ exports.createPages = async ({ actions }) => {
150
151
  let additionalInfo = {
151
152
  baseUrl,
152
153
  publicBaseUrl,
154
+ instance,
153
155
  siteSlug,
154
156
  theme,
155
157
  siteMetadata,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "1.73.17",
4
+ "version": "1.73.19",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -65,7 +65,7 @@
65
65
  "sass": "^1.54.5"
66
66
  },
67
67
  "devDependencies": {
68
- "@griddo/eslint-config-back": "^1.73.17",
68
+ "@griddo/eslint-config-back": "^1.73.19",
69
69
  "eslint": "^7.5.0",
70
70
  "eslint-plugin-node": "^11.1.0",
71
71
  "eslint-plugin-react": "7.14.3",
@@ -97,5 +97,5 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "gitHead": "f4bfa207ebb22bd82485cb8cfa3fb78aecb438f1"
100
+ "gitHead": "fb10cc9ddca48e9520a46f89ae4f4b5ce3e1fc3e"
101
101
  }
@@ -23,7 +23,7 @@ export default (data) => {
23
23
  socials,
24
24
  siteLangs,
25
25
  BUILD_MODE,
26
- page: { site: siteId, apiUrl, publicApiUrl },
26
+ page: { site: siteId, apiUrl, publicApiUrl, instance },
27
27
  sitePages,
28
28
  } = data.pageContext;
29
29
 
@@ -54,6 +54,7 @@ export default (data) => {
54
54
  siteId={siteId}
55
55
  apiUrl={apiUrl}
56
56
  publicApiUrl={publicApiUrl}
57
+ instance={instance}
57
58
  sitePages={sitePages}
58
59
  >
59
60
  <Seo
@@ -37,6 +37,7 @@ async function renderSinglePage(page, additionalInfo, createPage) {
37
37
  siteSlug,
38
38
  apiUrl: baseUrl,
39
39
  publicApiUrl: additionalInfo.publicBaseUrl,
40
+ instance: additionalInfo.instance,
40
41
  };
41
42
 
42
43
  const filepath = `${fullPath.domain}${fullPath.compose}`;