import "./app/env"; import type { NextConfig } from "next"; const nextConfig: NextConfig = { skipTrailingSlashRedirect: true, images: { remotePatterns: [ { protocol: "https", hostname: "github.com", pathname: "/*.png", }, ], }, 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;