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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user