mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Now correctly handling subdomains without a custom config
This commit is contained in:
parent
f08d133bde
commit
1f3444fc39
@ -19,7 +19,7 @@ module.exports = Observable.extend({
|
||||
utils.bindAll(this, methods);
|
||||
},
|
||||
getDefault: function (req, res, next) {
|
||||
if (req.subdomain) {
|
||||
if (req.subdomain && custom[req.subdomain]) {
|
||||
return this.getCustom(req, res, next);
|
||||
}
|
||||
this.renderFiles(req, res);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user