chore: rename e2e folder to catalogue + drop /inventory redirects
- tests/e2e/inventory → tests/e2e/catalogue (folder name only; playwright globs
./tests/e2e so nothing else changes).
- remove the next.config redirects from /inventory/{items,vendors}: the old
routes are intentionally left free for a future feature.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d7b455ab7d
commit
2bdf3a6536
3 changed files with 0 additions and 8 deletions
|
|
@ -19,14 +19,6 @@ const nextConfig: NextConfig = {
|
||||||
: []),
|
: []),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// The product catalogue moved from /inventory/{items,vendors} to
|
|
||||||
// /catalogue/{items,vendors}; keep old links (bookmarks, emails) working.
|
|
||||||
async redirects() {
|
|
||||||
return [
|
|
||||||
{ source: "/inventory/items/:path*", destination: "/catalogue/items/:path*", permanent: true },
|
|
||||||
{ source: "/inventory/vendors/:path*", destination: "/catalogue/vendors/:path*", permanent: true },
|
|
||||||
];
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue