Skip to content

Commit c010ecb

Browse files
authored
Revert "docs: revert image 15.3 change until live" (#77977)
Reverts #77941
1 parent 154267c commit c010ecb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

errors/next-image-unconfigured-host.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ Add the protocol, hostname, port, and pathname to the `images.remotePatterns` co
1313
```js filename="next.config.js"
1414
module.exports = {
1515
images: {
16-
remotePatterns: [
17-
{
18-
protocol: 'https',
19-
hostname: 'assets.example.com',
20-
port: '',
21-
pathname: '/account123/**',
22-
search: '',
23-
},
24-
],
16+
remotePatterns: [new URL('https://assets.example.com/account123/**')],
2517
},
2618
}
2719
```

0 commit comments

Comments
 (0)