Update wren referral link (#1194)

* update wren referral link

* fix integration test
main
Michael Fix 4 years ago committed by GitHub
parent fa119409ed
commit 78316da6b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,7 +26,10 @@ describe('security', () => {
})
it('/offsets -> Project Wren', () => {
cy.visit(`/offsets`)
cy.url().should('eq', 'https://www.wren.co/join/carbon?ref=wrenlink')
cy.url().should(
'eq',
'https://www.wren.co/join/carbon?utm_campaign=share&utm_medium=profile_referral_link'
)
})
it('/privacy -> Privacy policy', () => {
cy.visit(`/privacy`)

@ -55,7 +55,7 @@ module.exports = withBundleAnalyzer(
{
source: '/offsets',
destination:
'https://wren.link/join/carbon?utm_campaign=share&utm_medium=profile_referral_link',
'https://www.wren.co/join/carbon?utm_campaign=share&utm_medium=profile_referral_link',
permanent: false,
},
]

Loading…
Cancel
Save