From 982586ffd28842e2ae6ca2b1cb70c1af6da8c0b3 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 11 Nov 2020 21:16:04 -0800 Subject: [PATCH] fix project wren redirect --- cypress/integration/security.spec.js | 2 +- next.config.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/integration/security.spec.js b/cypress/integration/security.spec.js index 1e3ee86..91384ea 100644 --- a/cypress/integration/security.spec.js +++ b/cypress/integration/security.spec.js @@ -26,7 +26,7 @@ describe('security', () => { }) it('/offsets -> Project Wren', () => { cy.visit(`/offsets`) - cy.url().should('eq', 'https://projectwren.com/?utm_source=carbon') + cy.url().should('eq', 'https://www.projectwren.com/join/carbon') }) it('/privacy -> Privacy policy', () => { cy.visit(`/privacy`) diff --git a/next.config.js b/next.config.js index d31052a..0f447a2 100644 --- a/next.config.js +++ b/next.config.js @@ -54,7 +54,8 @@ module.exports = withBundleAnalyzer( }, { source: '/offsets', - destination: 'https://projectwren.com/?utm_source=carbon', + destination: + 'https://wren.link/join/carbon?utm_campaign=share&utm_medium=profile_referral_link', permanent: false, }, ]