mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Fix sandstorm storage path
This commit is contained in:
parent
d26bf04bfa
commit
617fdaeb74
1 changed files with 4 additions and 0 deletions
|
|
@ -291,8 +291,12 @@ if (Meteor.isServer) {
|
|||
}
|
||||
|
||||
function storagePath(defaultPath) {
|
||||
/*
|
||||
console.log('path', process.env.ATTACHMENTS_STORE_PATH);
|
||||
console.log('env', process.env);
|
||||
// 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