Skip to content

Commit

Permalink
Disabled Next.js default font optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirKakavand committed Aug 4, 2024
1 parent 4cfa9b6 commit cd08471
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const nextConfig = {
hostname: "rickandmortyapi.com"
}
]
}
},
experimental: {
fontLoaders: [
{ loader: '@next/font/google', options: { subsets: ['latin'] } },
],
},
};

// https://rickandmortyapi.com/api/character/avatar/1.jpeg
Expand Down

0 comments on commit cd08471

Please sign in to comment.