midrashim/next.config.mjs
2025-05-01 12:18:57 -05:00

19 lines
397 B
JavaScript

import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['covers.openlibrary.org', 'cdn.beitzah.net'],
},
async rewrites() {
return [
{
source: '/search',
destination: '/books',
},
]
},
}
export default withPayload(nextConfig, { devBundleServerPackages: false })