Files
latosa-escrima/frontend/next.config.ts
2025-01-14 14:37:50 +01:00

18 lines
313 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
output: "standalone",
async redirects() {
return [
{
destination: "/api",
source: `http://localhost:${process.env.BACKEND_PORT}`,
permanent: true,
},
];
},
};
export default nextConfig;