Skip to content

Commit 6a31927

Browse files
ci: change default rule origin path
1 parent 4c351b1 commit 6a31927

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/deployRules.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const patchDefaultRuleOrigin = async (propertyId: string, version: string) =>
4141
},
4242
body: JSON.stringify([
4343
{
44-
op: 'replace',
44+
op: 'add',
4545
path: '/rules/behaviors/0/options/customValidCnValues',
4646
value: [
4747
"{{Forward Host Header}}",
@@ -54,12 +54,12 @@ const patchDefaultRuleOrigin = async (propertyId: string, version: string) =>
5454
value: "CUSTOM"
5555
},
5656
{
57-
op: 'replace',
57+
op: 'add',
5858
path: '/rules/behaviors/0/options/originCertsToHonor',
5959
value: "STANDARD_CERTIFICATE_AUTHORITIES"
6060
},
6161
{
62-
op: 'replace',
62+
op: 'add',
6363
path: '/rules/behaviors/0/options/standardCertificateAuthorities',
6464
value: [
6565
"THIRD_PARTY_AMAZON",

0 commit comments

Comments
 (0)