fix issue 1347 (#1348)

main
Mike Fix 3 years ago committed by GitHub
parent 1ba20d740a
commit fa6a4ee4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,10 +33,16 @@ describe('security', () => {
}) })
it('/privacy -> Privacy policy', () => { it('/privacy -> Privacy policy', () => {
cy.visit(`/privacy`) cy.visit(`/privacy`)
cy.url().should('eq', 'https://www.notion.so/PRIVACY-POLICY-e9847a7777714eb08ba15a7a8eaee937') cy.url().should(
'eq',
'https://carbon-app.notion.site/PRIVACY-POLICY-65f08f57a8a14f91931d778f9a471a7d'
)
}) })
it('/terms -> Terms', () => { it('/terms -> Terms', () => {
cy.visit(`/terms`) cy.visit(`/terms`)
cy.url().should('eq', 'https://www.notion.so/TERMS-OF-USE-ff2ce22a7e9848c89c6be46b44297583') cy.url().should(
'eq',
'https://carbon-app.notion.site/TERMS-OF-USE-d159661077fe4ef2974e6108b36aeece'
)
}) })
}) })

@ -66,12 +66,14 @@ module.exports = withBundleAnalyzer(
return [ return [
{ {
source: '/privacy', source: '/privacy',
destination: 'https://www.notion.so/PRIVACY-POLICY-e9847a7777714eb08ba15a7a8eaee937', destination:
'https://carbon-app.notion.site/PRIVACY-POLICY-65f08f57a8a14f91931d778f9a471a7d',
permanent: false, permanent: false,
}, },
{ {
source: '/terms', source: '/terms',
destination: 'https://www.notion.so/TERMS-OF-USE-ff2ce22a7e9848c89c6be46b44297583', destination:
'https://carbon-app.notion.site/TERMS-OF-USE-d159661077fe4ef2974e6108b36aeece',
permanent: false, permanent: false,
}, },
{ {

Loading…
Cancel
Save