29 lines
627 B
JavaScript
29 lines
627 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
hostname: 'strapi.rbx-click.ru'
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: '127.0.0.1'
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost'
|
|
}
|
|
]
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/uploads/:path*',
|
|
destination: 'http://127.0.0.1:1337/uploads/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|