14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
poweredByHeader: false,
|
|
experimental: {
|
|
// Uploads post to a server action, whose body Next caps at 1 MB by default;
|
|
// the app accepts attachments up to 5 MiB (entities/file MAX_UPLOAD_BYTES).
|
|
serverActions: { bodySizeLimit: '6mb' },
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|