16 lines
395 B
JavaScript
16 lines
395 B
JavaScript
import { withPayload } from '@payloadcms/next/withPayload'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
poweredByHeader: false,
|
|
experimental: {
|
|
// Bound memory use while Next.js collects page data in build workers.
|
|
cpus: 2,
|
|
},
|
|
async redirects() {
|
|
return [{ source: '/', destination: '/ru', permanent: false }]
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig)
|