Skip to content

Commit ca20646

Browse files
astrobot-houstondelucisArmandPhilippot
authored
ci: update configuration reference docs (#13806)
Co-authored-by: delucis <357379+delucis@users.noreply.github.com> Co-authored-by: Armand Philippot <git@armand.philippot.eu>
1 parent 51ae6b9 commit ca20646

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

src/content/docs/en/reference/configuration-reference.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,14 +1661,15 @@ Defines a list of permitted image source URL patterns for remote image optimizat
16611661
}
16621662
```
16631663

1664-
You can use wildcards to define the permitted `hostname` and `pathname` values as described below. Otherwise, only the exact values provided will be configured:
1665-
`hostname`:
1666-
- Start with '**.' to allow all subdomains ('endsWith').
1667-
- Start with '*.' to allow only one level of subdomain.
1668-
1669-
`pathname`:
1670-
- End with '/**' to allow all sub-routes ('startsWith').
1671-
- End with '/*' to allow only one level of sub-route.
1664+
You can use wildcards to define the permitted `hostname` and `pathname` values as described below. Otherwise, only the exact values provided will be configured.
1665+
1666+
`hostname` patterns:
1667+
- Start with `**.` to allow all subdomains (like `endsWith`).
1668+
- Start with `*.` to allow only one level of subdomain.
1669+
1670+
`pathname` patterns:
1671+
- End with `/**` to allow all sub-routes (like `startsWith`).
1672+
- End with `/*` to allow only one level of sub-route.
16721673

16731674
### image.responsiveStyles
16741675

0 commit comments

Comments
 (0)