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
597 B

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactStrictMode: false,
output: "standalone",
allowedDevOrigins: ["192.168.77.32"],
experimental: {
proxyClientMaxBodySize: "32mb",
serverActions: {
bodySizeLimit: "100mb", // 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;