Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: add nextjs url redirect back

Dillion Vermab4df9889e833
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index 1d99330b..a9ce5f71 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -45,6 +45,11 @@ const nextConfig = {
destination: "/docs/:path*.md",
permanent: true,
},
+ {
+ source: "/r/:path([^.]*)",
+ destination: "/r/:path.json",
+ permanent: true,
+ },
]
},
rewrites() {