Yuki Takei 6 лет назад
Родитель
Сommit
4a57dadaeb
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      CHANGES.md
  2. 2 1
      src/client/js/util/markdown-it/plantuml.js

+ 2 - 1
CHANGES.md

@@ -2,7 +2,8 @@
 
 ## 3.5.17-RC
 
-* 
+* Fix: Use HTTP PlantUML URL in default
+    * Introduced by 3.5.12
 
 ## 3.5.16
 

+ 2 - 1
src/client/js/util/markdown-it/plantuml.js

@@ -7,7 +7,8 @@ export default class PlantUMLConfigurer {
     this.crowi = crowi;
     const config = crowi.getConfig();
 
-    this.serverUrl = config.env.PLANTUML_URI || 'https://plantuml.com/plantuml';
+    // Do NOT use HTTPS URL because plantuml.com refuse request except from members
+    this.serverUrl = config.env.PLANTUML_URI || 'http://plantuml.com/plantuml';
 
     this.generateSource = this.generateSource.bind(this);
   }