You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
598 B
21 lines
598 B
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: false,
|
|
output: "standalone",
|
|
allowedDevOrigins: ["192.168.77.32"],
|
|
experimental: {
|
|
proxyClientMaxBodySize: "400mb",
|
|
serverActions: {
|
|
bodySizeLimit: "400mb", // Increased for large media files
|
|
},
|
|
},
|
|
// Note: For route handlers (.../route.ts files), body size is controlled by
|
|
// the underlying server. For large payloads, consider using streaming or
|
|
// increase Node.js max HTTP header size if needed.
|
|
turbopack: {
|
|
root: __dirname,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|
|
|