Merge pull request #209 from ascribe/bokk-integration-fix

Redirect fix
This commit is contained in:
Tim Daubenschütz 2016-10-14 14:00:49 +02:00 committed by GitHub
commit 6534f6134b
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ const AppGateway = {
if (subdomain) {
// Some whitelabels have landing pages so we should not automatically redirect from / to /collection.
// Only www and cc do not have a landing page.
if (subdomain !== 'cc' || subdomain === 'bokk') {
if (subdomain !== 'cc' && subdomain !== 'bokk') {
redirectRoute = null;
}