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

Commit 275c56c

Browse files
committed
serverless build
1 parent af976b5 commit 275c56c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function setModelFileName(name: string): void {
104104
}
105105

106106
function reconnectWebSocket() {
107-
ws = new WebSocket(`wss://${window.location.hostname}/events/`);
107+
ws = new WebSocket(`ws://${window.location.hostname}:3000/events/`);
108108
}
109109

110110
ws.onmessage = (event) => {

bundles/org.dataflowanalysis.standalone/resources/WebEditor/vite-server-with-shutdown.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { WebSocket } from 'ws';
55
// Create a Vite server instance
66
const viteServer = await createServer({
77
server: {
8-
host: "0.0.0.0"
98
}
109
});
1110
const serverInfo = await viteServer.listen();

bundles/org.dataflowanalysis.standalone/src/org/dataflowanalysis/standalone/websocket/WebSocketServerUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ private static void startServer() {
3030
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
3131
context.setContextPath("/");
3232
server.setHandler(context);
33+
3334

3435
// Configure specific websocket behavior
3536
JettyWebSocketServletContainerInitializer.configure(context, (servletContext, wsContainer) ->

0 commit comments

Comments
 (0)