summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/attachments.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/attachments.js b/models/attachments.js
index 25e4b4bb..903f6490 100644
--- a/models/attachments.js
+++ b/models/attachments.js
@@ -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;
}