mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
- Pin slug↔rota: tests/unit/opsListRegistryRoutes.unit.spec.ts (8 slugs v1) - resolveDemandListUrl + resolveOrganizationListUrl; pages redirect; registry canonicalRedirect: true para demandas/organizacoes - E2E tracer saved filters com LIST_UNIFIED=1; flag em next/playwright env - Docs: CHANGELOG, lista-unificada spec, plano CL8 entregue Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
19 lines
634 B
JavaScript
19 lines
634 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',
|
|
// OH6/OH* + CL*: compile-time flags inlined for client islands; absent/`0`
|
|
// keeps CI identical to main.
|
|
env: {
|
|
OPS_HYBRID: process.env.OPS_HYBRID ?? '',
|
|
LIST_UNIFIED: process.env.LIST_UNIFIED ?? '',
|
|
},
|
|
images: {
|
|
remotePatterns: [new URL(`${allowedImageHost}/**`)],
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig, { devBundleServerPackages: false })
|