Skip to content

Commit 19b1e92

Browse files
committed
extend next config for external images
1 parent 7ff34e8 commit 19b1e92

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

next.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ const nextConfig = {
5656
outputFileTracingExcludes,
5757
images: {
5858
contentDispositionType: 'inline', // "open image in new tab" instead of downloading
59+
remotePatterns: [
60+
{
61+
protocol: 'https',
62+
hostname: 'user-images.githubusercontent.com',
63+
},
64+
{
65+
protocol: 'https',
66+
hostname: 'sentry-brand.storage.googleapis.com',
67+
},
68+
],
5969
},
6070
webpack: (config, options) => {
6171
config.plugins.push(

0 commit comments

Comments
 (0)