gatsby-theme-q3 3.4.11 → 3.4.15
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/gatsby-browser.js +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
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
|
+
|
6
17
|
## [3.4.11](https://github.com/3merge/q/compare/v3.4.10...v3.4.11) (2022-04-05)
|
7
18
|
|
8
19
|
**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 (
|
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.
|
3
|
+
"version": "3.4.15",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"transform-loader": "^0.2.4",
|
43
43
|
"yarn": "^1.22.17"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "d687afe8516251f3c5297121fe172ab78c4d7d5c"
|
46
46
|
}
|