From 296e4d6298dc26d3027ff364eddabc6384081749 Mon Sep 17 00:00:00 2001 From: yudejp Date: Wed, 22 Sep 2021 08:23:29 +0900 Subject: [PATCH] Add redirects to Amazon wishlist, Scrapbox (via Next.js) --- next.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/next.config.js b/next.config.js index 20d2876..b0018db 100644 --- a/next.config.js +++ b/next.config.js @@ -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, + } + ] + }, }) \ No newline at end of file