You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/configuration-reference.mdx
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1661,14 +1661,15 @@ Defines a list of permitted image source URL patterns for remote image optimizat
1661
1661
}
1662
1662
```
1663
1663
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.
0 commit comments