Updated to just use DATABASE_* in everything other than local docker.
This commit is contained in:
Stefan Lazic committed 2026-08-07 17:30:12 +01:00
1 parent 769d3f9ebc
commit 51de4f4ef5
19 files changed
+120 -56

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ export const getBranding = cache(async (): Promise<BrandingInfo> => {
// Reached from the root layout's generateMetadata, which Next may
// invoke while statically prerendering a route at *build* time (e.g.
// /_not-found) — no real database is reachable then (see the
// Dockerfile's placeholder build-time DATABASE_URL). A transient/
// Dockerfile's placeholder build-time database env vars). A transient/
// unreachable database is treated exactly like "not installed yet":
// neutral fallback wording, never a crashed build or a 500 at runtime.
let business;