19 lines
585 B
TypeScript
19 lines
585 B
TypeScript
import { withPayload } from '@payloadcms/next/withPayload'
|
|
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
typescript: { ignoreBuildErrors: true },
|
|
eslint: { ignoreDuringBuilds: true },
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: 'http', hostname: 'localhost' },
|
|
{ protocol: 'http', hostname: '193.124.91.99' },
|
|
{ protocol: 'http', hostname: '161.104.59.37' },
|
|
{ protocol: 'https', hostname: 'www.monikiweb.ru' },
|
|
{ protocol: 'https', hostname: 'images.unsplash.com' },
|
|
],
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig)
|