Skip to content

Commit

Permalink
fix(frontend): redirect paths to the correct urls
Browse files Browse the repository at this point in the history
  • Loading branch information
IcaroG committed Jan 25, 2025
1 parent b1d0052 commit 22fbd6b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apps/frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,25 @@ const nextConfig = {
source: "/api/auth",
destination: "/api/v1/auth",
},
];
},
async redirects() {
return [
{
source: "/docs/:path*",
destination: "https://docs.opensource.observer/docs/:path*",
permanent: true,
},
{
source: "/blog/:path*",
destination: "https://docs.opensource.observer/blog/:path*",
permanent: true,
},
{
source: "/assets/:path*",
destination: "https://docs.opensource.observer/assets/:path*",
permanent: true,
},
];
},
async redirects() {
return [
{
source: "/data-collective",
destination: "https://www.kariba.network",
Expand Down

0 comments on commit 22fbd6b

Please sign in to comment.