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
@@ -17,9 +17,9 @@ SMTP_FROM="CommunityRule <noreply@localhost>"
# /privacy. Unset or any value other than `true` is off (404, no footer/login/email links).
# Staging: `true`. Production stays off until university counsel has read the policy.
# ENABLE_PRIVACY_POLICY is the Cloudron runtime switch. The NEXT_PUBLIC_ alias bakes at image build.
# Only ENABLE_PRIVACY_POLICY counts. It is read at runtime on Cloudron.
# A build-time NEXT_PUBLIC_ENABLE_PRIVACY_POLICY value does not turn the page on.
# ENABLE_PRIVACY_POLICY=true
# NEXT_PUBLIC_ENABLE_PRIVACY_POLICY=true
# CR-107: inbox for Ask an organizer form submissions (requires CLOUDRON_MAIL_SMTP_* in production).
ORGANIZER_INQUIRY_TO=