Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(backend:files): set `maxAge` to 0 to enforce immediate cache invalidation
johaven293f34cb0e4b
diff --git a/backend/src/applications/files/utils/send-file.ts b/backend/src/applications/files/utils/send-file.tsindex 3c4533ee..d8a15f01 100644--- a/backend/src/applications/files/utils/send-file.ts+++ b/backend/src/applications/files/utils/send-file.ts@@ -24,6 +24,7 @@ export class SendFile {dotfiles: 'allow',lastModified: true,cacheControl: true,+ maxAge: 0,index: false,highWaterMark: DEFAULT_HIGH_WATER_MARK}