/** @type {import('next').NextConfig} */ const nextConfig = { async rewrites() { return [ { source: "/api/:path*", destination: "https://h5api.tiefen.fun/api/:path*", // destination: "https://testapi.tiefen.fun/api/:path*", }, { source: "/imgprod/:path*", destination: "https://levianderwinv01.tiefen.space/imgprod/:path*", }, ]; }, transpilePackages: ["crypto-js"], experimental: { missingSuspenseWithCSRBailout: false, }, }; module.exports = nextConfig;