/** @type {import('next').NextConfig} */ const nextConfig = { async rewrites() { return [ { source: '/queyueapi/:path*', destination: `${process.env.NEXT_PUBLIC_HOST}/:path*`, }, ]; }, redirects: async () => { return [ { source: '/', destination: '/vol/list/all', permanent: true, }, ]; }, }; export default nextConfig;