next.config.ts 361 Bytes
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  allowedDevOrigins: ["192.168.1.71"],
  // /api/* 的代理改由 src/app/api/[...path]/route.ts(catch-all 流式代理)接管。
  // 不再用 rewrites:它会整体缓冲请求体与响应,导致大文件上传被卡、SSE 无法实时流式。
};

export default nextConfig;