mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Attachment, rename not needed anymore since Meteor-Files 2.3.0
Thanks to @dr-dimitru
https://github.com/wekan/wekan/pull/4638#issuecomment-1217883870
00ab6f723b
This commit is contained in:
parent
25443926d3
commit
f6fbd0a5c2
3 changed files with 9 additions and 4 deletions
|
|
@ -45,6 +45,10 @@ Avatars = new FilesCollection({
|
|||
debug: false, // Change to `true` for debugging
|
||||
collectionName: 'avatars',
|
||||
allowClientCode: true,
|
||||
sanitize(str, max, replacement) {
|
||||
// keep the original filename
|
||||
return str;
|
||||
},
|
||||
storagePath() {
|
||||
const ret = fileStoreStrategyFactory.storagePath;
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue