Explorar o código

Fix sandstorm storage path

Romulus Urakagi Tsai %!s(int64=5) %!d(string=hai) anos
pai
achega
617fdaeb74
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      models/attachments.js

+ 4 - 0
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;
 }