/** @type {import('next').NextConfig} */ const nextConfig = { output: "export", distDir: "./dist", async rewrites() { return [ { source: "/auth/:path*", destination: "/api/auth/:path*", }, ]; }, }; export default nextConfig;