streams.go
changeset 238 1c0042e76902
parent 217 cc086e49cd0c
child 244 4508376c8fcb
--- a/streams.go	Thu Sep 06 00:34:44 2018 +0200
+++ b/streams.go	Thu Sep 06 01:07:40 2018 +0200
@@ -52,7 +52,7 @@
 	}
 
 	// Build streaming websocket URL
-	u, err := url.Parse("ws" + mc.APIBase[4:] + "/streaming/")
+	u, err := url.Parse("ws" + mc.APIBase[4:] + "/v1/streaming/")
 	if err != nil {
 		return nil, errors.Wrap(err, "cannot create Websocket URL")
 	}