Skip to content

Commit

Permalink
adding redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
LennardZuendorf authored Oct 23, 2023
1 parent 322dc1a commit 579d94b
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
async redirects() {
return [
{
source: '/',
destination: 'https://www.bento.me/zuendorf',
permanent: false,
},
{
source: '/linkd',
destination: 'https://www.linkedin.com/in/lennard-zuendorf/',
permanent: true,
},
{
source: '/github',
destination: 'https://www.github.com/lennardzuendorf',
permanent: true,
},
{
source: '/linkedin',
destination: '/linkd',
permanent: true,
},
{
source: '/mail',
destination: 'mailto:lennard@zuendorf.me',
permanent: true,
},
];
},
};

module.exports = nextConfig

0 comments on commit 579d94b

Please sign in to comment.