Skip to content

Commit

Permalink
FEAT: Automate creating redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
joysamaddar committed Dec 13, 2024
1 parent 8d44527 commit dcf126f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 54 deletions.
22 changes: 22 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,28 @@ const nextConfig = {

// for github pages
basePath: process.env.BASE_PATH || "",
async redirects() {
return [
{
source: "/roadmap",
destination:
"https://ductus.notion.site/DeXter-Roadmap-e8faed71fe1c4cdf95fb247f682c0d3a",
permanent: false,
},
{
source: "/treasury",
destination:
"https://dashboard.radixdlt.com/account/account_rdx168qrzyngejus9nazhp7rw9z3qn2r7uk3ny89m5lwvl299ayv87vpn5",
permanent: false,
},
{
source: "/tester-setup",
destination:
"https://ductus.notion.site/DeXter-Beta-Tester-Setup-106a4c8666088049987dc71fe4bb3daa",
permanent: false,
},
];
},
};

module.exports = withMDX(nextConfig);
18 changes: 0 additions & 18 deletions src/app/roadmap/page.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/tester-setup/page.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/treasury/page.tsx

This file was deleted.

0 comments on commit dcf126f

Please sign in to comment.