gatsby-theme-q3 3.4.9 → 3.4.15

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.4.15](https://github.com/3merge/q/compare/v3.4.14...v3.4.15) (2022-04-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * segments and forced tenancy ([#397](https://github.com/3merge/q/issues/397)) ([82e1802](https://github.com/3merge/q/commit/82e1802fe1cde096b442e294896e0ad2dd9530a7))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.4.11](https://github.com/3merge/q/compare/v3.4.10...v3.4.11) (2022-04-05)
18
+
19
+ **Note:** Version bump only for package gatsby-theme-q3
20
+
21
+
22
+
23
+
24
+
25
+ ## [3.4.10](https://github.com/3merge/q/compare/v3.4.9...v3.4.10) (2022-04-04)
26
+
27
+ **Note:** Version bump only for package gatsby-theme-q3
28
+
29
+
30
+
31
+
32
+
6
33
  ## [3.4.9](https://github.com/3merge/q/compare/v3.4.8...v3.4.9) (2022-04-01)
7
34
 
8
35
  **Note:** Version bump only for package gatsby-theme-q3
package/gatsby-browser.js CHANGED
@@ -26,7 +26,10 @@ export const onClientEntry = async () => {
26
26
  const offset = str.includes('localhost') ? -1 : -2;
27
27
  const parts = str.split('.').slice(0, offset).join('.');
28
28
 
29
- if (size(parts))
29
+ if (process.env.GATSBY_APP_TENANT_FORCE) {
30
+ axios.defaults.headers['X-Session-Tenant'] =
31
+ process.env.GATSBY_APP_TENANT_FORCE;
32
+ } else if (size(parts))
30
33
  axios.defaults.headers['X-Session-Tenant'] =
31
34
  process.env.GATSBY_APP_TENANT || parts;
32
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-theme-q3",
3
- "version": "3.4.9",
3
+ "version": "3.4.15",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -28,13 +28,13 @@
28
28
  "gatsby-plugin-robots-txt": "^1.6.14",
29
29
  "gatsby-plugin-sharp": "^4.2.0",
30
30
  "gatsby-plugin-sitemap": "^5.2.0",
31
- "gatsby-theme-q3-mui": "^3.4.9",
31
+ "gatsby-theme-q3-mui": "^3.4.11",
32
32
  "gatsby-transformer-sharp": "^4.2.0",
33
33
  "lodash": "^4.17.20",
34
34
  "process": "^0.11.10",
35
35
  "prop-types": "^15.7.2",
36
36
  "q3-ui-helpers": "^3.4.9",
37
- "q3-ui-locale": "^3.4.9",
37
+ "q3-ui-locale": "^3.4.11",
38
38
  "query-string": "^7.0.1",
39
39
  "react-helmet": "^6.1.0",
40
40
  "react-share": "^4.3.1",
@@ -42,5 +42,5 @@
42
42
  "transform-loader": "^0.2.4",
43
43
  "yarn": "^1.22.17"
44
44
  },
45
- "gitHead": "07ce4924c5b70b90e1dae9bdafda250a73a139cb"
45
+ "gitHead": "d687afe8516251f3c5297121fe172ab78c4d7d5c"
46
46
  }