Permalink
Browse files

change req.subdomain styling back

  • Loading branch information...
1 parent cd54faa commit e3ac2c5b02a83f7fb3d70a2335ff6efd62919e99 @tj tj committed Jan 24, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/request.js
View
@@ -415,7 +415,10 @@ req.__defineGetter__('auth', function(){
req.__defineGetter__('subdomains', function(){
var offset = this.app.get('subdomain offset');
- return this.get('Host').split('.').reverse().slice(offset);
+ return this.get('Host')
+ .split('.')
+ .reverse()
+ .slice(offset);
});
/**

0 comments on commit e3ac2c5

Please sign in to comment.