2024-06-04 21:42:11 +03:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-08-06 14:06:40 +03:00
|
|
|
const nextConfig = {
|
|
|
|
async redirects() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/news',
|
|
|
|
destination: '/news/1',
|
|
|
|
permanent: true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
source: '/news/post',
|
|
|
|
destination: '/news/1',
|
|
|
|
permanent: true,
|
|
|
|
},
|
2024-09-10 10:23:43 +03:00
|
|
|
];
|
2024-08-06 14:06:40 +03:00
|
|
|
},
|
2024-09-10 10:23:43 +03:00
|
|
|
};
|
2024-06-04 21:42:11 +03:00
|
|
|
|
2024-09-10 10:23:43 +03:00
|
|
|
export default nextConfig;
|