Browse Source

add HACKMD_URI env var

Yuki Takei 8 years ago
parent
commit
21e0d840fb
2 changed files with 2 additions and 0 deletions
  1. 1 0
      config/env.dev.js
  2. 1 0
      lib/models/config.js

+ 1 - 0
config/env.dev.js

@@ -3,6 +3,7 @@ module.exports = {
   FILE_UPLOAD: 'local',
   // MATHJAX: 1,
   ELASTICSEARCH_URI: 'http://localhost:9200/growi',
+  HACKMD_URI: 'http://localhost:3100',
   PLUGIN_NAMES_TOBE_LOADED: [
     // 'growi-plugin-lsx',
     // 'growi-plugin-pukiwiki-like-linker',

+ 1 - 0
lib/models/config.js

@@ -466,6 +466,7 @@ module.exports = function(crowi) {
       env: {
         PLANTUML_URI: env.PLANTUML_URI || null,
         BLOCKDIAG_URI: env.BLOCKDIAG_URI || null,
+        HACKMD_URI: env.HACKMD_URI || null,
         MATHJAX: env.MATHJAX || null,
       },
     };