You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
339 B
17 lines
339 B
const {i18n} = require('./next-i18next.config.js')
|
|
|
|
const remoteImage = process.env.IMGPUSH_URL ? process.env.IMGPUSH_URL.split('/')[-1] : "imgpush.mieuxvoter.fr";
|
|
|
|
module.exports = {
|
|
i18n,
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: remoteImage,
|
|
pathname: '**',
|
|
},
|
|
],
|
|
}
|
|
};
|