1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

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

View File

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