mirror of
https://github.com/wekan/wekan.git
synced 2026-03-01 19:30:15 +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) {
|
function storagePath(defaultPath) {
|
||||||
|
/*
|
||||||
|
console.log('path', process.env.ATTACHMENTS_STORE_PATH);
|
||||||
|
console.log('env', process.env);
|
||||||
// FIXME
|
// FIXME
|
||||||
return '/var/attachments';
|
return '/var/attachments';
|
||||||
|
*/
|
||||||
const storePath = process.env.ATTACHMENTS_STORE_PATH;
|
const storePath = process.env.ATTACHMENTS_STORE_PATH;
|
||||||
return storePath ? storePath : defaultPath;
|
return storePath ? storePath : defaultPath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue