Skip to content

Commit

Permalink
fix redirects for components with simple name (devtools)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkogo committed Nov 6, 2024
1 parent 4975146 commit 615d178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ui-components/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
{
// Match all routes without file extention
// that adhere to *-*-*.json pattern
source: "/:slug(\\w*\\-\\w*\\-*\\w*)",
source: "/:slug(\\w+\\-*\\w*\\-*\\w*)",
destination: "/registry/:slug.json",
permanent: true,
},
Expand Down

0 comments on commit 615d178

Please sign in to comment.