Skip to content

Commit

Permalink
update next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sasicodes committed Oct 6, 2023
1 parent 66296c4 commit 6bb70e7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
];
},
};
Expand Down

0 comments on commit 6bb70e7

Please sign in to comment.