12 lines
284 B
JavaScript
12 lines
284 B
JavaScript
import { withPayload } from '@payloadcms/next/withPayload'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
poweredByHeader: false,
|
|
async redirects() {
|
|
return [{ source: '/', destination: '/ru', permanent: false }]
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig)
|