devurl
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -90,2 +90,3 @@ "use strict"; | ||
Demon.prototype.add = function(host, url, callback) { | ||
var alreadyExist = !!this.domains[host]; | ||
this.domains[host] = { | ||
@@ -95,2 +96,5 @@ url: url, | ||
}; | ||
if (alreadyExist) { | ||
return false; | ||
} | ||
this.addToHosts(host); | ||
@@ -97,0 +101,0 @@ this.refresh(callback); |
{ | ||
"name": "devurl", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "convert your ugly urls dev urls from localhost:3000 to dev.myapp.com", | ||
@@ -5,0 +5,0 @@ "author": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
17573
20
444
10