Skip to content

Commit 4c351b1

Browse files
ci: change default rule origin path
1 parent 03a68ef commit 4c351b1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/deployRules.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ const patchDefaultRuleOrigin = async (propertyId: string, version: string) =>
4242
body: JSON.stringify([
4343
{
4444
op: 'replace',
45-
path: '/rules/children/0/behaviors/0/options/customValidCnValues',
45+
path: '/rules/behaviors/0/options/customValidCnValues',
4646
value: [
4747
"{{Forward Host Header}}",
4848
"{{Origin Hostname}}"
4949
]
5050
},
5151
{
5252
op: 'replace',
53-
path: '/rules/children/0/behaviors/0/options/verificationMode',
53+
path: '/rules/behaviors/0/options/verificationMode',
5454
value: "CUSTOM"
5555
},
5656
{
5757
op: 'replace',
58-
path: '/rules/children/0/behaviors/0/options/originCertsToHonor',
58+
path: '/rules/behaviors/0/options/originCertsToHonor',
5959
value: "STANDARD_CERTIFICATE_AUTHORITIES"
6060
},
6161
{
6262
op: 'replace',
63-
path: '/rules/children/0/behaviors/0/options/standardCertificateAuthorities',
63+
path: '/rules/behaviors/0/options/standardCertificateAuthorities',
6464
value: [
6565
"THIRD_PARTY_AMAZON",
6666
"akamai-permissive"

0 commit comments

Comments
 (0)