mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Remove filesCollection from FileStoreStrategy classes
This commit is contained in:
parent
e75f423edd
commit
9d587e76ab
5 changed files with 26 additions and 29 deletions
|
|
@ -13,7 +13,9 @@ export const httpStreamOutput = function(readStream, name, http, downloadFlag, c
|
|||
http.response.end('not found');
|
||||
});
|
||||
|
||||
http.response.setHeader('Cache-Control', cacheControl);
|
||||
if (cacheControl) {
|
||||
http.response.setHeader('Cache-Control', cacheControl);
|
||||
}
|
||||
http.response.setHeader('Content-Disposition', getContentDisposition(name, http?.params?.query?.download));
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue