@adobe/helix-config 2.15.0 → 2.15.1
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 +7 -0
- package/package.json +1 -1
- package/src/config-view.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.15.1](https://github.com/adobe/helix-config/compare/v2.15.0...v2.15.1) (2024-05-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* do not load org config in resolveConfig ([ccedbfd](https://github.com/adobe/helix-config/commit/ccedbfd4c7c465b842e25f9021fd5a06021e63d4))
|
|
7
|
+
|
|
1
8
|
# [2.15.0](https://github.com/adobe/helix-config/compare/v2.14.0...v2.15.0) (2024-05-07)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/config-view.js
CHANGED
|
@@ -203,16 +203,6 @@ async function resolveConfig(ctx, rso, scope) {
|
|
|
203
203
|
if (scope === SCOPE_PIPELINE || scope === SCOPE_DELIVERY) {
|
|
204
204
|
config.head = await loadHeadHtml(ctx, config, rso.ref);
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
// check for org config
|
|
208
|
-
const orgKey = `orgs/${rso.org}/config.json`;
|
|
209
|
-
res = await ctx.loader.getObject(HELIX_CONFIG_BUS, orgKey);
|
|
210
|
-
if (res.body) {
|
|
211
|
-
const orgConfig = res.json();
|
|
212
|
-
if (orgConfig.tokens) {
|
|
213
|
-
config.tokens = orgConfig.tokens;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
206
|
return config;
|
|
217
207
|
}
|
|
218
208
|
|