mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
We already had `domains` as "not recommended" but this PR marks it as "deprecated" and prints a warning if its detected. I also updated all examples to switch from `domains` to `remotePatterns`.
7 lines
149 B
JavaScript
7 lines
149 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
images: {
|
|
domains: ['res.cloudinary.com', 'avatars.githubusercontent.com'],
|
|
},
|
|
}
|