Skip to content

Commit

Permalink
adding change log rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevcody committed Apr 20, 2024
1 parent 6cf84b1 commit 5b19243
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ const nextConfig = {
},
],
},
async rewrites() {
return [
{
source: "/changelog",
destination:
"https://projectplannerai.com/changelog/bf1599a8807019b25000d8c1",
},
];
},
};

module.exports = nextConfig;
3 changes: 3 additions & 0 deletions src/app/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export function Header() {
<Link href="/account" className="link">
Account
</Link>
<Link href="/changelog" className="link">
Changelog
</Link>
</>
)}
</div>
Expand Down

0 comments on commit 5b19243

Please sign in to comment.