fix: använd NEXT_PUBLIC_API_URL_INTERNAL i quick-import-proxy

This commit is contained in:
Nils-Johan Gynther
2026-04-15 21:25:20 +02:00
parent 2932e58531
commit ed732ea4e6
+1 -1
View File
@@ -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',