18 lines
353 B
JavaScript
18 lines
353 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
experimental: {
|
|
serverActions: true,
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/proxy/:path*',
|
|
destination: `${process.env.API_BASE_URL || 'http://localhost:8000'}/:path*`,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|