fix(nav): redirect /blueprints to /admin/blueprints (#52)
Prevents a confusing 404 when users navigate directly to /blueprints. Mirrors the existing /login → /auth/signin redirect pattern. Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
@@ -22,6 +22,8 @@ const nextConfig: NextConfig = {
|
||||
return [
|
||||
// Common URL alias — redirect to the real auth entry point
|
||||
{ source: "/login", destination: "/auth/signin", permanent: true },
|
||||
// Common shorthand — redirect to the admin blueprints management page
|
||||
{ source: "/blueprints", destination: "/admin/blueprints", permanent: true },
|
||||
];
|
||||
},
|
||||
async headers() {
|
||||
|
||||
Reference in New Issue
Block a user