소스 검색

Fix sandstorm storage path

Romulus Urakagi Tsai 5 년 전
부모
커밋
617fdaeb74
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }