Explorar o código

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

Sam X. Chen %!s(int64=5) %!d(string=hai) anos
pai
achega
77b5244723
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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';
+  }
+});