Skip to content

Commit ab83d79

Browse files
rahulshukla111PatrickJS
authored andcommitted
Fixed the connection url (#81)
Updated the readme
1 parent 4a11420 commit ab83d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can download angular-websocket by:
4545
// WebSocket works as well
4646
.factory('MyData', function($websocket) {
4747
// Open a WebSocket connection
48-
var dataStream = $websocket('wss://website.com/data');
48+
var dataStream = $websocket('ws://website.com/data');
4949
5050
var collection = [];
5151

0 commit comments

Comments
 (0)