Move websocket

This commit is contained in:
Owen Schwartz 2024-12-08 16:13:30 -05:00
parent 31692c03e8
commit 082ebae0bb
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -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)