|
@@ -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;
|
|
}
|
|
}
|