Python 51.6%
TypeScript 46.7%
CSS 1.7%
1import type { NextConfig } from "next";23const ENGINE = process.env.QC26_ENGINE_URL || "http://127.0.0.1:8201";45const nextConfig: NextConfig = {6 reactStrictMode: true,7 poweredByHeader: false,8 images: { formats: ["image/avif", "image/webp"] },9 async rewrites() {10 return [11 { source: "/api/:path*", destination: `${ENGINE}/api/:path*` },12 { source: "/healthz", destination: `${ENGINE}/healthz` },13 ];14 },15 async headers() {16 return [17 { source: "/parties/:path*", headers: [{ key: "Cache-Control", value: "public, max-age=604800, immutable" }] },18 ];19 },20};2122export default nextConfig;23