falcor-http-ws-datasource
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -76,2 +76,8 @@ 'use strict'; | ||
var wsUrlPath = pushUrl.match(/ws+:\/\/.*?(\/.*)/); | ||
if (wsUrlPath[1]) { | ||
config.path = wsUrlPath[1] + "/socket.io"; | ||
} | ||
var socket = new _socketIoClient2['default'](pushUrl, config); | ||
@@ -78,0 +84,0 @@ |
{ | ||
"name": "falcor-http-ws-datasource", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Falcor HTTP and WebSocket datasource", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
11596
214