DAK Zweitmeinungs-Portal – Case Management & Reporting
Find a file
CCS Admin 4cd52dd0b2 fix: correct double /api/ prefix in report download URL
The download function used `/api/reports/download/{id}` as the URL for
the axios instance which already has `baseURL: '/api'`. This resulted in
requests to `/api/api/reports/download/{id}`, causing nginx to serve
the SPA index.html (status 200, text/html) instead of proxying to the
backend. The HTML was then saved as .xlsx, making Excel unable to open it.

Fix: Use `/reports/download/{id}` for axios (which prepends baseURL)
and keep the full `/api/reports/download/{id}` for the window.open fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 23:10:12 +00:00
backend feat: add inline report viewer with 5-tab sheet display 2026-02-26 22:57:35 +00:00
deploy feat: add Passenger app.js for Plesk deployment 2026-02-24 08:55:47 +00:00
docs/plans feat: add inline report viewer with 5-tab sheet display 2026-02-26 22:57:35 +00:00
frontend fix: correct double /api/ prefix in report download URL 2026-02-26 23:10:12 +00:00
.gitignore feat: add avatar upload/delete endpoints with static file serving 2026-02-26 09:39:21 +00:00
Dak_projekt_spezifikation_final.md feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00