import type { NextConfig } from 'next'; const nextConfig: NextConfig = { async redirects() { return [ { source: '/', destination: '/home', permanent: true, }, ]; }, cacheComponents: true, }; export default nextConfig;