@adobe/helix-config 4.0.0 → 4.1.0
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 +1 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [4.1.0](https://github.com/adobe/helix-config/compare/v4.0.0...v4.1.0) (2024-08-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* remove head.html existence check ([#166](https://github.com/adobe/helix-config/issues/166)) ([079916f](https://github.com/adobe/helix-config/commit/079916fe2b98f40b5fd4e8472c4ea8f964872230)), closes [#163](https://github.com/adobe/helix-config/issues/163)
|
|
7
|
+
|
|
1
8
|
# [4.0.0](https://github.com/adobe/helix-config/compare/v3.13.2...v4.0.0) (2024-08-15)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/config-view.js
CHANGED
|
@@ -442,17 +442,6 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
if (!config.head?.html && (opts.scope === SCOPE_PIPELINE || opts.scope === SCOPE_DELIVERY)) {
|
|
446
|
-
// validate that ref exists in code-bus
|
|
447
|
-
return new PipelineResponse('', {
|
|
448
|
-
status: 404,
|
|
449
|
-
headers: {
|
|
450
|
-
'x-error': 'ref does not exist (no head.html)',
|
|
451
|
-
...surrogateHeaders,
|
|
452
|
-
},
|
|
453
|
-
});
|
|
454
|
-
}
|
|
455
|
-
|
|
456
445
|
if (opts.scope === SCOPE_DELIVERY) {
|
|
457
446
|
return new PipelineResponse('', {
|
|
458
447
|
headers: {
|
|
@@ -524,6 +513,7 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
524
513
|
public: config.public,
|
|
525
514
|
robots: config.robots,
|
|
526
515
|
access: config.access,
|
|
516
|
+
legacy: config.legacy,
|
|
527
517
|
};
|
|
528
518
|
return new PipelineResponse(JSON.stringify(pipelineConfig, null, 2), {
|
|
529
519
|
headers: {
|