todos-contra-el-fuego-web/imports/startup/client
vjrj 62ac2fbd9c sentry: tunnel client events through the app to dodge Cloudflare's 503
GlitchTip is behind Cloudflare, which answers the browser's cross-site ingest
POSTs with 503 (no CORS headers -> 'Failed to fetch'); server-side requests
pass. The browser SDK now posts envelopes same-origin to /sentry-tunnel, and
the server forwards them to GlitchTip:
- imports/startup/server/sentryTunnel.js: WebApp handler that relays the raw
  envelope to <dsn>/api/<project>/envelope/?sentry_key=<key> over IPv4
  (family:4 avoids Happy-Eyeballs picking Cloudflare's unroutable IPv6 on
  IPv4-only hosts). GlitchTip authenticates by the sentry_key query, so the
  key is derived from the DSN and passed explicitly.
- client ravenLogger: tunnel: '/sentry-tunnel'.
Verified: POST /sentry-tunnel -> 200 (envelope reaches GlitchTip).
2026-07-17 18:17:47 +02:00
..
geolocation.js Improved SelectionMap 2017-12-11 18:23:24 +01:00
Gkeys.js Removed log 2017-12-15 17:43:01 +01:00
i18n.js meteor3: purge dead client packages — web UI renders on 3.1 2026-07-14 11:32:19 +02:00
index.js meteor3: React 16 -> 18.3 with createRoot 2026-07-14 11:32:37 +02:00
meta.js More work with titles & descriptions 2018-02-07 15:27:12 +01:00
modernizr.js Added webp images for faster home load 2018-05-08 11:12:48 +02:00
piwik-start.js Refactor piwik startup 2018-03-02 21:58:14 +01:00
ravenLogger.js sentry: tunnel client events through the app to dodge Cloudflare's 503 2026-07-17 18:17:47 +02:00
reconnect.js Autoreconnect 2018-03-07 11:44:56 +01:00