a3aa6590ff
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`.
19 lines
374 B
JavaScript
19 lines
374 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'b-cdn.net',
|
|
port: '',
|
|
pathname: '/my-account/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: '*.stream.prepr.io',
|
|
port: '',
|
|
pathname: '/my-account/**',
|
|
},
|
|
],
|
|
},
|
|
}
|