Files
mcpedia/packages/config
asepharyana f4fb43c1a5
CI / typecheck + build (turbo) (push) Canceled after 0s
fix(config): don't throw on missing DATABASE_URL at import time
The import-time guard broke 'next build' (SSG data collection imports
@mcpedia/config before any .env exists) and any runtime-injected env.
postgres.js connects lazily on first query, so a missing DATABASE_URL now
surfaces as a clear connect error at runtime instead of a cryptic build
failure. Lets CI build without .env present.
2026-08-19 22:49:03 +07:00
..