/** @type {import('next').NextConfig} */ const nextConfig = { // output: 'export', // distDir: 'dist', async rewrites() { return [ { source: '/queyueapi/:path*', destination: `${process.env.NEXT_PUBLIC_HOST}/:path*`, }, ]; }, redirects: async () => { return [ // { // source: '/', // destination: '/download', // permanent: false, // }, ]; }, eslint: { ignoreDuringBuilds: true, ignoreBuildErrors: true, }, }; export default nextConfig;