0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

Add redirects to Amazon wishlist, Scrapbox (via Next.js)

This commit is contained in:
yude 2021-09-22 08:23:29 +09:00
parent 2c0bc0f5f6
commit 296e4d6298
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -15,4 +15,18 @@ module.exports = nextTranslate({
})
return config
},
async redirects() {
return [
{
source: '/wishlist',
destination: 'https://www.amazon.jp/hz/wishlist/ls/8WTKCPWKOJ2N?ref_=wl_share',
permanent: true,
},
{
source: '/scrapbox',
destination: 'https://scrapbox.io/yude',
permanent: true,
}
]
},
})