feat(analytics): proxy PostHog ingestion through public-api on Vercel

- Add Vercel rewrites to proxy `/ingest/*` and `/ingest/static/*` to PostHog's US endpoints
- Update native `.env.example` to point `EXPO_PUBLIC_POSTHOG_HOST` at the self-hosted proxy URL
This commit is contained in:
2026-03-21 15:39:56 -04:00
parent ef90e57f19
commit 37c35488fd
12 changed files with 80 additions and 22 deletions
+8
View File
@@ -1650,6 +1650,10 @@ msgstr ""
msgid "Play trailer"
msgstr ""
#: apps/native/src/hooks/use-server-connection.ts
msgid "Please sign in again."
msgstr "Please sign in again."
#: apps/native/src/app/(tabs)/(explore)/index.tsx
#: apps/web/src/routes/_app/explore.tsx
msgid "Popular Movies"
@@ -2091,6 +2095,10 @@ msgstr ""
msgid "Server URL"
msgstr ""
#: apps/native/src/hooks/use-server-connection.ts
msgid "Session expired"
msgstr "Session expired"
#: apps/native/src/app/(tabs)/(settings)/index.tsx
msgid "Set password"
msgstr ""