Skip to content

Commit 0fbce06

Browse files
committed
redirect unlimited-wallets campaign to home (#5908)
closes: CORE-682 ### TL;DR Disabled the unlimited wallets campaign page and redirected its URL to the homepage. ### What changed? - Commented out the `/unlimited-wallets` route in framer-rewrites.js - Added a new redirect rule to send `/unlimited-wallets` traffic to the homepage ### How to test? 1. Visit `/unlimited-wallets` 2. Verify you are redirected to the homepage 3. Ensure no 404 errors occur ### Why make this change? The unlimited wallets campaign has concluded, and we need to gracefully handle any remaining traffic to this URL by redirecting users to the homepage instead of showing a broken or missing page. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the redirect configurations in the `apps/dashboard/redirects.js` and `apps/dashboard/framer-rewrites.js` files, specifically modifying the handling of the `/unlimited-wallets` route. ### Detailed summary - Added a new redirect entry for `/unlimited-wallets` to redirect to `/` in `apps/dashboard/redirects.js`. - Commented out the existing redirection for `/unlimited-wallets` in `apps/dashboard/framer-rewrites.js`, marking it as "OFF for now". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 53b24a2 commit 0fbce06

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = [
2626
"/solutions/defi",
2727
"/solutions/ecosystem",
2828
// -- campaigns --
29-
"/unlimited-wallets",
29+
// "/unlimited-wallets", -- OFF for now
3030
// -- TPP --
3131
"/trusted-partner-program",
3232
"/trusted-partner-program/:partner_slug",

apps/dashboard/redirects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@ async function redirects() {
331331
destination: "/templates/:slug",
332332
permanent: false,
333333
},
334+
// PREVIOUS CAMPAIGNS
335+
{
336+
source: "/unlimited-wallets",
337+
destination: "/",
338+
permanent: false,
339+
},
334340
...legacyDashboardToTeamRedirects,
335341
];
336342
}

0 commit comments

Comments
 (0)