From 6bb70e73040d202e16646685a7b2a4e5ecb8441b Mon Sep 17 00:00:00 2001 From: "sasi.eth" Date: Fri, 6 Oct 2023 20:48:03 +0530 Subject: [PATCH] update next.config.js --- next.config.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/next.config.js b/next.config.js index 627f2ee..dfafb73 100644 --- a/next.config.js +++ b/next.config.js @@ -29,6 +29,30 @@ const nextConfig = { destination: "/u/:handle?by=Hey", permanent: false, }, + { + source: "/watch/:id", + has: [ + { + type: "query", + key: "by", + value: "lenstube", + }, + ], + destination: "/watch/:id?by=Tape", + permanent: false, + }, + { + source: "/u/:handle", + has: [ + { + type: "query", + key: "by", + value: "lenstube", + }, + ], + destination: "/channel/:handle?by=Tape", + permanent: false, + }, ]; }, };