config: add proxyClientMaxBodySize and allowedDevOrigins
- 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)
This commit is contained in:
1 parent
789c8cebf4
commit
7674f12c5e
2 files changed
+9
-1
No files matched your search
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
import "./.next/types/routes.d.ts";
|
||||
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.
|
||||
Reference in new issue
Block a user