16 lines
288 B
JavaScript
16 lines
288 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://backend:8080/api/:path*',
|
|
},
|
|
];
|
|
},
|
|
images: {
|
|
domains: ['localhost'],
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig; |