import type { NextConfig } from "next"; const nextConfig: NextConfig = { skipTrailingSlashRedirect: true, async rewrites() { return [ { source: "/cmuxterm/static/:path*", destination: "https://us-assets.i.posthog.com/static/:path*", }, { source: "/cmuxterm/:path*", destination: "https://us.i.posthog.com/:path*", }, ]; }, }; export default nextConfig;