mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
fixup! Hello gridfs lib + fsHooks for mongodb bucket storage
This commit is contained in:
parent
0d97b1314d
commit
bb780976e9
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export const createInterceptDownload = bucket =>
|
|||
const getContentDisposition = (name, downloadFlag) => {
|
||||
const dispositionType = downloadFlag === 'true' ? 'attachment;' : 'inline;';
|
||||
|
||||
const encodedName = encodeURIComponent(fileName);
|
||||
const encodedName = encodeURIComponent(name);
|
||||
const dispositionName = `filename="${encodedName}"; filename=*UTF-8"${encodedName}";`;
|
||||
const dispositionEncoding = 'charset=utf-8';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue