Другой роутинг
Some checks failed
CI / main (push) Has been cancelled

This commit is contained in:
Igor Rybakov
2026-03-06 23:24:16 +02:00
parent 6228624805
commit f919ea66f6
19 changed files with 500 additions and 160 deletions

View File

@@ -10,6 +10,15 @@ const nextConfig = {
// Use this to set Nx-specific options
// See: https://nx.dev/recipes/next/next-config-setup
nx: {},
async redirects() {
return [
{
source: '/catalog/:category(gidravlika|pnevmatika|asu|zip)',
destination: '/catalog?category=:category',
permanent: true,
},
];
},
};
const plugins = [