Skip to content

Commit

Permalink
🐛 Deprecated images.domains (Next.js 14)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinemcx committed Nov 19, 2023
1 parent b878985 commit 3f8bf14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['uploadthing.com', 'lh3.googleusercontent.com'],
remotePatterns: [
{
protocol: 'https',
hostname: 'uploadthing.com',
pathname: '**',
},
{
protocol: 'https',
hostname: 'lh3.googleusercontent.com',
pathname: '**',
},
],
},
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-nextjs-boilerplate",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 3f8bf14

Please sign in to comment.