Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 2ae7b54

Browse files
committed
Small fixes
1 parent 275c56c commit 2ae7b54

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

bundles/org.dataflowanalysis.standalone/resources/WebEditor/src/features/serialize/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class AnalyzeDiagramCommand extends Command {
7272
editorMode: this.editorModeController?.getCurrentMode(),
7373
};
7474
const diagramJson = JSON.stringify(diagram, undefined, 4);
75-
sendMessageToWebsocket(":Json:" + diagramJson);
75+
sendMessageToWebsocket("Json:" + diagramJson);
7676
return context.root;
7777
}
7878

bundles/org.dataflowanalysis.standalone/resources/WebEditor/src/features/serialize/loadDFDandDD.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class LoadDFDandDDCommand extends Command {
9090

9191
// Send each file's content in separate WebSocket messages
9292
sendMessageToWebsocket(
93-
":DFD:" +
93+
"DFD:" +
9494
this.getFileNameWithoutExtension(dataflowFile) +
9595
":" +
9696
dataflowFileContent +

bundles/org.dataflowanalysis.standalone/resources/WebEditor/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ modelSource
9494
console.error("Failed to show default UIs and load default diagram", error);
9595
});
9696

97-
var ws = new WebSocket(`wss://${window.location.hostname}/events/`); // Change to the dynamic WebSocket port
97+
var ws = new WebSocket(`ws://${window.location.hostname}:3000/events/`); // Change to the dynamic WebSocket port
9898
var wsId = 0;
9999

100100
export var modelFileName = "diagram";

0 commit comments

Comments
 (0)