diff --git a/services/web/app/src/Features/Subscription/SubscriptionController.js b/services/web/app/src/Features/Subscription/SubscriptionController.js index 8bbb8eace1..0a7f701d57 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionController.js +++ b/services/web/app/src/Features/Subscription/SubscriptionController.js @@ -139,6 +139,14 @@ async function plansPage(req, res) { } async function plansPageLightDesign(req, res) { + const splitTestActive = await SplitTestHandler.promises.isSplitTestActive( + 'website-redesign-plans' + ) + + if (!splitTestActive && req.query.preview !== 'true') { + return res.redirect(302, '/user/subscription/plans') + } + res.render('subscriptions/plans-light-design', { title: 'plans_and_pricing', })