gatsby-matrix-theme 3.2.27 → 3.2.28

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [3.2.28](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.27...v3.2.28) (2022-02-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixed prelive path ([613be59](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/613be5928fa86f418bd5296f701b32ae77d54d1d))
7
+ * preconnectLinks removed ([325406c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/325406c1f772dce8a42c3be89a3c8213579957d4))
8
+
9
+
10
+ * Merge branch 'tm-2681-canary-tokens' into 'master' ([bcbf07d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bcbf07d830c41f628d180ef592ffb82a8e0f9b00))
11
+
1
12
  ## [3.2.27](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.26...v3.2.27) (2022-02-08)
2
13
 
3
14
 
package/gatsby-config.js CHANGED
@@ -16,12 +16,7 @@ module.exports = {
16
16
  resolve: `gatsby-core-theme`,
17
17
  options: {
18
18
  siteName: process.env.GATSBY_SITE_NAME,
19
- preconnectLinks: [
20
- 'https://www.google-analytics.com',
21
- 'https://www.googletagmanager.com',
22
- 'https://gm.innocraft.cloud',
23
- process.env.IMAGE_CDN_URL,
24
- ],
19
+ preconnectLinks: [process.env.IMAGE_CDN_URL],
25
20
  },
26
21
  },
27
22
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "3.2.27",
3
+ "version": "3.2.28",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -20,8 +20,9 @@ function Body({ pageContext, children }) {
20
20
  }
21
21
 
22
22
  if (
23
- !document.domain.includes(process.env.GATSBY_SITE_NAME) ||
24
- !document.domain.includes(`www.${process.env.GATSBY_SITE_NAME}`)
23
+ document.domain !== `prelive.${process.env.GATSBY_SITE_NAME}` ||
24
+ document.domain !== process.env.GATSBY_SITE_NAME ||
25
+ document.domain !== `www.${process.env.GATSBY_SITE_NAME}`
25
26
  ) {
26
27
  // eslint-disable-next-line no-restricted-globals
27
28
  const l = location.href;