express-loadmill
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -51,3 +51,3 @@ | ||
function verifyDomain(token, req, res, next) { | ||
if (token && req.url.startsWith("/loadmill-challenge/" + token + ".txt")) { | ||
if (token && req.url.indexOf("/loadmill-challenge/" + token + ".txt") === 0) { | ||
res.send(token); | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "express-loadmill", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Express middleware to enable crowdsourced load simulations via loadmill.com", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
4788