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.
19 lines
520 B
19 lines
520 B
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
output: "standalone",
|
|
experimental: {
|
|
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;
|
|
|