Fixed caching for file manager

This commit is contained in:
maziggy
2026-01-21 06:06:47 +01:00
parent 576734c897
commit a33246a060
3 changed files with 15 additions and 5 deletions
+1
View File
@@ -6,6 +6,7 @@ async function request<T>(
): Promise<T> {
const response = await fetch(`${API_BASE}${endpoint}`, {
...options,
cache: 'no-store', // Prevent browser caching of API responses
headers: {
'Content-Type': 'application/json',
...options.headers,