teqo-backup/next.config.mjs
Francisco Ignácio Fontoura Solla bcac665cb5 Ship /campanha nuclei MVP with RBAC, invites, and vote estimates.
Adds electoral nuclei, leaderships, updates, and WhatsApp invite flows behind campaign auth, plus the consolidated schema migration that Vercel applies on deploy.
2026-07-18 15:01:56 -03:00

13 lines
413 B
JavaScript

import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const allowedImageHost = process.env.NEXT_PUBLIC_SITE_URL || 'https://jorgesolla.com.br'
const nextConfig = {
distDir: process.env.NEXT_DIST_DIR || '.next',
images: {
remotePatterns: [new URL(`${allowedImageHost}/**`)],
},
}
export default withPayload(nextConfig, { devBundleServerPackages: false })