Fix: Cache-Control-Header für Waveform-Editor API-Route hinzugefügt

- API-Route sendet jetzt explizite No-Cache-Header
- Frontend-Fetch verwendet cache: 'no-store'
- Behebt Problem, dass neu hochgeladene Dateien erst nach Container-Neustart bearbeitbar waren
This commit is contained in:
Hördle Bot
2025-12-07 13:03:43 +01:00
parent 7999d63e6d
commit c83dc7a5e5
2 changed files with 37 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ export default function CuratorSpecialEditorPage() {
}
const res = await fetch(`/api/curator/specials/${specialId}`, {
headers: getCuratorAuthHeaders(),
cache: 'no-store',
});
if (res.status === 403) {
setError(t('specialForbidden'));