From e2a427ef74b4c16f139f7c8db5ef20f74a833cf6 Mon Sep 17 00:00:00 2001 From: Greg Rickaby Date: Mon, 17 Jun 2024 09:22:31 -0500 Subject: [PATCH] update redirect to include path --- next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 3daf23b..e67bfcb 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,8 +9,8 @@ const nextConfig = { permanent: true }, { - source: '/r', - destination: '/', + source: '/r/:path*', + destination: 'https://reddit-viewer.com/r/:path*', permanent: true } ]