@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user