Browse Source

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

Sam X. Chen 5 years ago
parent
commit
77b5244723
1 changed files with 6 additions and 0 deletions
  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';
+  }
+});