This commit is contained in:
cdricms
2025-01-14 14:37:50 +01:00
parent 8aadc810d1
commit 8f89f236e7
4 changed files with 28 additions and 1 deletions

View File

@@ -3,6 +3,15 @@ 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;