default redirect in nested dynamic route
Answered
Sun bear posted this in #help-forum
Sun bearOP
i have this path:
app/team/[teamId]/[tab]
And i want redirect domain.com/team/882 to domain.com/team/882/overview
i try this:
{
source: "/team/:path/",
destination: "/team/:path/overview",
permanent: true,
}
but not work
thanks
app/team/[teamId]/[tab]
And i want redirect domain.com/team/882 to domain.com/team/882/overview
i try this:
{
source: "/team/:path/",
destination: "/team/:path/overview",
permanent: true,
}
but not work
thanks
1 Reply
Sun bearOP
ok, i resolved with this
Answer