mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Fixed emberjs output urls
This commit is contained in:
parent
3688a8a336
commit
7b4bdfc365
@ -169,7 +169,10 @@ module.exports = Observable.extend({
|
||||
// ignore orgs for now
|
||||
//
|
||||
// if the subdomain
|
||||
if (req.subdomain !== undefsafe(bin, 'metadata.name')) {
|
||||
if (custom[req.subdomain]) {
|
||||
// custom domain
|
||||
resolve();
|
||||
} else if (req.subdomain !== undefsafe(bin, 'metadata.name')) {
|
||||
reject('username does not match');
|
||||
} else {
|
||||
if (features('vanity', { session: { user: bin.metadata }})) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user