fs3/frontend/next.config.js
rdev-worker 296401abbc
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
build: Build a full-stack task management application with the following str...
2026-01-31 07:44:20 +00:00

17 lines
356 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
async rewrites() {
return [
{
source: '/api/:path*',
destination: process.env.BACKEND_URL
? `${process.env.BACKEND_URL}/api/:path*`
: 'http://backend:8081/api/:path*',
},
];
},
};
module.exports = nextConfig;