Keep /privacy off unless the runtime flag is on, and show that link in the footer story.

A build-time public env value was enough to publish the page, and the footer interaction story still looked for a link the component hides by default.
This commit is contained in:
adilallo committed 2026-11-20 15:40:05 -07:00
1 parent 072e5362f5
commit 81ad287c24
5 files changed
+15 -10

No files matched your search

+2 -2
View File
@@ -81,8 +81,8 @@ per-app in the manifest and provisioned at install time.
- `ENABLE_PRIVACY_POLICY=true` — turns on `/privacy` at runtime. Staging
keeps this on so counsel can read the page. Leave unset in production
until that review is done (the route 404s and public chrome does not
link to it). `NEXT_PUBLIC_ENABLE_PRIVACY_POLICY` is the same switch
baked at image build; prefer the runtime name on Cloudron.
link to it). Only this runtime name counts. A build-time
`NEXT_PUBLIC_ENABLE_PRIVACY_POLICY` value does not turn the page on.
- `NEXT_PUBLIC_ENABLE_BACKEND_SYNC=true` — turns on Postgres draft
persistence for signed-in users. Required in production.
- `UPLOAD_ROOT` — absolute path to a writable directory on the Cloudron