Skip to content

Commit 2b583e5

Browse files
committed
chore: removed broken image that was no longer broken from main images demo page
1 parent 1043902 commit 2b583e5

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

demos/default/next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
},
7272
// https://nextjs.org/docs/basic-features/image-optimization#domains
7373
images: {
74-
domains: ['raw.githubusercontent.com', 'upload.wikimedia.org'],
74+
domains: ['raw.githubusercontent.com'],
7575
remotePatterns: [
7676
{
7777
hostname: '*.imgur.com',

demos/default/pages/image.js

-10
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ const Images = () => (
2222
/>
2323
<Image src="https://i.imgur.com/bxSRS3Jb.png" alt="Tawny Frogmouth" width={160} height={160} />
2424
</p>
25-
26-
<p>
27-
The following image should be broken as the domain is not added to domains or remotePatterns in next.config.js:
28-
</p>
29-
<Image
30-
src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/SIPI_Jelly_Beans_4.1.07.tiff/lossy-page1-256px-SIPI_Jelly_Beans_4.1.07.tiff.jpg"
31-
alt="Jellybeans"
32-
width={146}
33-
height={32}
34-
/>
3525
</div>
3626
)
3727

0 commit comments

Comments
 (0)