Files
storycove/frontend/next.config.js
2025-07-22 21:49:40 +02:00

24 lines
443 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://backend:8080/api/:path*',
},
];
},
images: {
domains: ['localhost'],
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
port: '80',
pathname: '/images/**',
},
],
},
};
module.exports = nextConfig;