@based/opts
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -55,3 +55,6 @@ "use strict"; | ||
} | ||
if (http && isWsRe.test(url)) { | ||
else { | ||
url = opts.url; | ||
} | ||
if (http && url && isWsRe.test(url)) { | ||
return url.replace(isWsRe, 'http'); | ||
@@ -58,0 +61,0 @@ } |
{ | ||
"name": "@based/opts", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "public": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9608
132