From 082ebae0bb184a5fdb656b17f8663599dec35cc8 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Sun, 8 Dec 2024 16:13:30 -0500 Subject: [PATCH] Move websocket --- websocket/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket/client.go b/websocket/client.go index b473f16..94351ac 100644 --- a/websocket/client.go +++ b/websocket/client.go @@ -90,7 +90,7 @@ func (c *Client) Connect() error { } // Create WebSocket URL using the hostname without path - wsURL := fmt.Sprintf("%s://%s/ws", wsProtocol, baseURL.Host) + wsURL := fmt.Sprintf("%s://%s/api/v1/ws", wsProtocol, baseURL.Host) u, err := url.Parse(wsURL) if err != nil { return fmt.Errorf("failed to parse WebSocket URL: %w", err)