Skip to content

Commit

Permalink
fix(images): use old image hostname pattern on next config
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 authored May 21, 2024
1 parent cb926ed commit cb524b0
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,14 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')()
const nextConfig = {
reactStrictMode: true,
images: {
remotePatterns: [
{
hostname: '*.githubusercontent.com'
},
{
hostname: 'github.com'
},
{
hostname: '*.imgur.com'
},
{
hostname: 'mateusf.com'
},
{
hostname: 'lastfm.freetls.fastly.net'
},
{
hostname: '*.catsjuice.com'
},
{
hostname: '*.scdn.co'
}
domains: [
'raw.githubusercontent.com',
'avatars.githubusercontent.com',
'github.com',
'i.imgur.com',
'mateusf.com',
'lastfm.freetls.fastly.net',
'contribution.catsjuice.com'
]
},
async rewrites() {
Expand Down

0 comments on commit cb524b0

Please sign in to comment.