Skip to content

Commit

Permalink
Minor. Conform to style of other files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Dec 5, 2011
1 parent 8eab3a8 commit 36fc7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transports/websocket/default.js
Expand Up @@ -88,7 +88,7 @@ WebSocket.prototype.onSocketConnect = function () {
return;
}

var origin = this.req.headers.origin
var origin = this.req.headers['origin']
, location = ((this.manager.settings['match origin protocol'] ?
origin.match(/^https/) : this.socket.encrypted) ?
'wss' : 'ws')
Expand Down

0 comments on commit 36fc7b0

Please sign in to comment.