Quellcode durchsuchen

Fix sandstorm storage path

Romulus Urakagi Tsai vor 5 Jahren
Ursprung
Commit
617fdaeb74
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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;
 }