- Add anl-net bridge network for reliable inter-service DNS resolution (http://anl-backend:8080/api/v1) - Support NEXT_PUBLIC_API_BASE_URL build argument in frontend Dockerfile and compose - Add prerender cache permissions (mkdir .next && chown nextjs:nodejs) in refer_landing_page/Dockerfile - Add root .env.example with documented port and token configurations - Add backend/.dockerignore to optimize backend build context - Pass all unit tests and E2E gates with 100% unanimous PASS review verdicts
17 lines
326 B
JavaScript
17 lines
326 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
reactStrictMode: true,
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/intro",
|
|
destination: "/",
|
|
permanent: true, // 308 permanent redirect (H-11 / IA-02)
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|