express-subdomain-handler
Advanced tools
Comparing version 0.0.4 to 0.1.0
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -42,3 +41,3 @@ * SubdomainHandler | ||
regex = new RegExp('((?!www)\\b[\\w\\.]+)\\.' + baseUrl + '(?::)?(?:\d+)?'); | ||
regex = new RegExp('((?!www)\\b[-\\w\\.]+)\\.' + baseUrl + '(?::)?(?:\d+)?'); | ||
@@ -101,2 +100,2 @@ return regex; | ||
}; | ||
}; | ||
}; |
{ | ||
"name": "express-subdomain-handler", | ||
"version": "0.0.4", | ||
"author": "Wilson Page", | ||
"description": "A tiny module to handle subdomains nicely in Express", | ||
"homepage": "http://github.com/WilsonPage/express-subdomain-handler", | ||
"engines": ["node >= 0.2.2"], | ||
"main": "lib/esh" | ||
} | ||
"name": "express-subdomain-handler", | ||
"version": "0.1.0", | ||
"author": "Wilson Page", | ||
"description": "A tiny module to handle subdomains nicely in Express", | ||
"homepage": "http://github.com/WilsonPage/express-subdomain-handler", | ||
"engines": [ | ||
"node >= 0.2.2" | ||
], | ||
"main": "lib/esh" | ||
} |
5146
6
88