mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-27 06:13:06 +00:00
Decision: remove compile-time OPS_HYBRID after OH11/OH13 green in CI/staging. Staff hybrid sync is gated only by isStaffCampaignRole in the app layout; OfflineBoundary swaps to Local when the browser is offline. - Delete opsHybridFlag.ts and legacy formAction branches in staff controls - E2e offline specs run in CI without OPS_HYBRID env - Update ops-hibrido spec to implementado + offline write recipe Closes #175 Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
17 lines
570 B
JavaScript
17 lines
570 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',
|
|
// CL*: compile-time flag inlined for client islands; absent/`0` keeps legacy list shells.
|
|
env: {
|
|
LIST_UNIFIED: process.env.LIST_UNIFIED ?? '',
|
|
},
|
|
images: {
|
|
remotePatterns: [new URL(`${allowedImageHost}/**`)],
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig, { devBundleServerPackages: false })
|