From f4928bd9f9d10582068ddf1bc6a549494726c4ef Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 20 Apr 2026 16:29:58 +0100 Subject: [PATCH] change redirect --- next.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index f66de5b..296e043 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,4 +1,5 @@ import type { NextConfig } from "next"; +import { env } from "@/lib/env"; const nextConfig: NextConfig = { output: "standalone", @@ -19,7 +20,7 @@ const nextConfig: NextConfig = { return [ { source: "/api/:path*", - destination: "http://localhost:3001/:path*", + destination: env.API_URL+"/:path*", }, ]; },