rename backend api
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m50s

This commit is contained in:
Syasya 2025-08-26 09:16:45 +08:00
parent c28cb86fdb
commit f77aa0358e

View File

@ -6,6 +6,14 @@ const nextConfig = {
eslint: { eslint: {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,
}, },
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://backend:8000/:path*", // internal Docker hostname
},
]
},
}; };
module.exports = nextConfig; module.exports = nextConfig;