UserDashboard/next.config.js
Syasya f77aa0358e
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m50s
rename backend api
2025-08-26 09:16:45 +08:00

20 lines
399 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
reactStrictMode: false,
swcMinify: true,
eslint: {
ignoreDuringBuilds: true,
},
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://backend:8000/:path*", // internal Docker hostname
},
]
},
};
module.exports = nextConfig;