falcor-http-ws-datasource
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -95,6 +95,7 @@ 'use strict'; | ||
if (pushUrl && pushUrl.length > 0) { | ||
var wsUrlPath = pushUrl.match(/ws+:\/\/.*?(\/.*)/); | ||
var wsUrlPath = pushUrl.match(/(ws+:\/\/[A-Za-z0-9\-\.]+)(.*)/); | ||
if (wsUrlPath && wsUrlPath[1]) { | ||
config.path = wsUrlPath[1] + "/socket.io"; | ||
if (wsUrlPath && wsUrlPath[2]) { | ||
pushUrl = wsUrlPath[1]; | ||
config.path = wsUrlPath[2] + "/socket.io"; | ||
} | ||
@@ -101,0 +102,0 @@ } |
{ | ||
"name": "falcor-http-ws-datasource", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Falcor HTTP and WebSocket datasource", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15585
323