fix: Update backend URL in QuickImportProxy to use the correct API endpoint

This commit is contained in:
Nils-Johan Gynther
2026-04-12 09:29:15 +02:00
parent 4d3873c9e4
commit 2c92e07d39
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export async function POST(request: NextRequest) {
}
// Anropa backend
const backendUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080';
const backendUrl = process.env.NEXT_PUBLIC_API_URL || 'http://recipe-api:8080';
console.log('[QuickImportProxy] Anropar backend på:', backendUrl + '/api/quick-import');
const response = await fetch(`${backendUrl}/api/quick-import`, {