Skip to content

Commit eed0838

Browse files
committed
refactor: move /universal-bridge to /payments
1 parent 8260af3 commit eed0838

File tree

22 files changed

+20
-5
lines changed

22 files changed

+20
-5
lines changed

apps/dashboard/redirects.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,20 @@ const projectRoute = "/team/:team_slug/:project_slug";
6666

6767
const projectPageRedirects = [
6868
{
69-
destination: `${projectRoute}/universal-bridge/:path*`,
69+
destination: `${projectRoute}/payments/:path*`,
7070
permanent: false,
7171
source: `${projectRoute}/connect/pay/:path*`,
7272
},
7373
{
74-
destination: `${projectRoute}/universal-bridge/:path*`,
74+
destination: `${projectRoute}/payments/:path*`,
7575
permanent: false,
7676
source: `${projectRoute}/connect/universal-bridge/:path*`,
7777
},
78+
{
79+
destination: `${projectRoute}/payments/:path*`,
80+
permanent: false,
81+
source: `${projectRoute}/universal-bridge/:path*`,
82+
},
7883
{
7984
destination: `${projectRoute}/account-abstraction/:path*`,
8085
permanent: false,
@@ -375,12 +380,22 @@ async function redirects() {
375380
permanent: false,
376381
source: "/template/:slug",
377382
},
378-
// redirect /connect/pay to /universal-bridge
383+
// redirect /connect/pay to /payments
379384
{
380-
destination: "/universal-bridge",
381-
permanent: false,
385+
destination: "/payments",
386+
permanent: true,
382387
source: "/connect/pay",
383388
},
389+
{
390+
destination: "/payments",
391+
permanent: true,
392+
source: "/universal-bridge",
393+
},
394+
{
395+
destination: "/payments/:slug",
396+
permanent: true,
397+
source: "/universal-bridge/:slug",
398+
},
384399
// PREVIOUS CAMPAIGNS
385400
{
386401
destination: "/",

0 commit comments

Comments
 (0)