Browse Source

Bugfix: 2560, 2604 - enable mixed mode mongodb attachment and filesystem attachment while reading

Sam X. Chen 6 năm trước cách đây
mục cha
commit
77b5244723
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      server/richer-editor-setting-helper.js

+ 6 - 0
server/richer-editor-setting-helper.js

@@ -0,0 +1,6 @@
+Meteor.startup(() => {
+  const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
+  if (RCCE) {
+    Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false';
+  }
+});