import type { NextConfig } from "next"; const nextConfig: NextConfig = { experimental: { serverActions: { bodySizeLimit: '10mb' } }, async redirects() { return [ { source: '/rk2', destination: '/', permanent: false }, { source: '/rk2/:path+', destination: '/:path+', permanent: false }, { source: '/rk/:path*', destination: '/alt/rk/:path*', permanent: false }, { source: '/visu/:path*', destination: '/alt/visu/:path*', permanent: false }, ]; }, /* config options here */ }; export default nextConfig;