diff --git a/components/mobile/profile/ProfileChannelsSection.tsx b/components/mobile/profile/ProfileChannelsSection.tsx index 16e84cf..2cd580b 100644 --- a/components/mobile/profile/ProfileChannelsSection.tsx +++ b/components/mobile/profile/ProfileChannelsSection.tsx @@ -28,6 +28,12 @@ import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Separator } from '@/components/ui/separator'; +// Personal ntfy channels target the company ntfy instance. The fallback +// matches the server-side default in personal-channels.ts / notify.ts so +// the UI and the publish path stay aligned even when the env var is unset +// in a dev shell (UAT-FIX-01). +const NTFY_BASE = process.env.NEXT_PUBLIC_NTFY_BASE_URL || 'https://ntfy.wulfconsulting.cloud'; + // ── Types ──────────────────────────────────────────────────────────────────── interface Channel { @@ -279,12 +285,12 @@ export function ProfileChannelsSection() { /* State B — topic minted */
@@ -315,6 +321,9 @@ export function ProfileChannelsSection() { setCustomTopicError(null); }} /> +
+ Topic must start with pulse-me-.
+
{customTopicError}
)}