From ed732ea4e60e842fff49f82a244ddb7c0de6e1a1 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Wed, 15 Apr 2026 21:25:20 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20anv=C3=A4nd=20NEXT=5FPUBLIC=5FAPI=5FURL?= =?UTF-8?q?=5FINTERNAL=20i=20quick-import-proxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/api/quick-import-proxy/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/api/quick-import-proxy/route.ts b/frontend/app/api/quick-import-proxy/route.ts index 181681ea..7d0f1abb 100644 --- a/frontend/app/api/quick-import-proxy/route.ts +++ b/frontend/app/api/quick-import-proxy/route.ts @@ -4,7 +4,7 @@ export async function POST(request: NextRequest) { try { const contentType = request.headers.get('content-type') ?? ''; const isMultipart = contentType.includes('multipart/form-data'); - const backendUrl = process.env.BACKEND_URL || process.env.NEXT_PUBLIC_API_URL || 'http://recipe-api:8080'; + const backendUrl = process.env.NEXT_PUBLIC_API_URL_INTERNAL || 'http://recipe-api:8080'; const response = await fetch(`${backendUrl}/api/quick-import`, { method: 'POST',