File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/com/structurizr/cli/export Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111import com .structurizr .export .plantuml .C4PlantUMLExporter ;
1212import com .structurizr .export .plantuml .StructurizrPlantUMLExporter ;
1313import com .structurizr .export .websequencediagrams .WebSequenceDiagramsExporter ;
14+ import com .structurizr .http .HttpClient ;
1415import com .structurizr .util .WorkspaceUtils ;
1516import com .structurizr .view .ColorScheme ;
1617import com .structurizr .view .ThemeUtils ;
@@ -162,7 +163,9 @@ public void run(String... args) throws Exception {
162163 } else {
163164 if (!JSON_FORMAT .equalsIgnoreCase (format )) {
164165 // only inline the theme amd create default views if the user wants a diagram export
165- ThemeUtils .loadThemes (workspace );
166+ HttpClient httpClient = new HttpClient ();
167+ httpClient .allow (".*" );
168+ ThemeUtils .loadThemes (workspace , httpClient );
166169 addDefaultViewsAndStyles (workspace );
167170 }
168171
You can’t perform that action at this time.
0 commit comments