mirror of
https://github.com/wekan/wekan.git
synced 2026-01-21 16:56:11 +01:00
Change to relative path and /var/attachments to store
This commit is contained in:
parent
6ebd6defe9
commit
d26bf04bfa
5 changed files with 31 additions and 27 deletions
|
|
@ -291,6 +291,8 @@ if (Meteor.isServer) {
|
|||
}
|
||||
|
||||
function storagePath(defaultPath) {
|
||||
// FIXME
|
||||
return '/var/attachments';
|
||||
const storePath = process.env.ATTACHMENTS_STORE_PATH;
|
||||
return storePath ? storePath : defaultPath;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue