/** @type {import('next').NextConfig} */
const nextConfig = {
async redirects() {
return [
{
source: '/news',
destination: '/news/1',
permanent: true,
},
source: '/news/post',
]
}
export default nextConfig