Comparing version 1.2.3 to 1.2.4
1.2.4 / 2016-09-07 | ||
================== | ||
* fix: should get subdomains from hostname instead (#809) | ||
1.2.3 / 2016-09-07 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -421,5 +421,5 @@ | ||
var offset = this.app.subdomainOffset; | ||
var host = this.host || ''; | ||
if (net.isIP(host)) return []; | ||
return host | ||
var hostname = this.hostname; | ||
if (net.isIP(hostname)) return []; | ||
return hostname | ||
.split('.') | ||
@@ -426,0 +426,0 @@ .reverse() |
{ | ||
"name": "koa", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Koa web app framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/application.js", |
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
56927