deployment-talks/chat-app/frontend/websocket.js

4 lines
98 B
JavaScript
Raw Normal View History

export function createWebSocket() {
return new WebSocket("ws://localhost:3000/chat-service");
}