Skip to content

Commit 5ac8065

Browse files
Incorporates updates to structurizr-java.
1 parent 1195f62 commit 5ac8065

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/com/structurizr/cli/export/ExportCommand.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.structurizr.export.plantuml.C4PlantUMLExporter;
1212
import com.structurizr.export.plantuml.StructurizrPlantUMLExporter;
1313
import com.structurizr.export.websequencediagrams.WebSequenceDiagramsExporter;
14+
import com.structurizr.http.HttpClient;
1415
import com.structurizr.util.WorkspaceUtils;
1516
import com.structurizr.view.ColorScheme;
1617
import 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

0 commit comments

Comments
 (0)