- Set experimental.proxyClientMaxBodySize to 300mb so the Next.js proxy layer does not truncate uploads before they reach the FastAPI backend (backend enforces 50 MB unauth / 250 MB auth) - Add allowedDevOrigins for 192.168.18.8 to suppress the cross-origin dev warning when accessing the dev server from the local network - Regenerate next-env.d.ts (build path change, no functional effect)
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
/// <reference types="next" />
|
|
/// <reference types="next/image-types/global" />
|
|
import "./.next/dev/types/routes.d.ts";
|
|
|
|
// NOTE: This file should not be edited
|
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|