caterium-app/ops
pavlov346346-source fe029715eb ops: add api.caterium.ru proxy script to repo, fix auth CORS
The deployed PHP reverse proxy at api.caterium.ru only forwarded/allowed
a fixed set of CORS request headers, missing x-supabase-api-version which
supabase-js v2.112.4's auth client sends on every request. That made the
browser reject the preflight and fail the actual login call client-side
with a generic "Failed to fetch" (not a server error, so it never showed
up in server logs) - every login was broken since the proxy went live.

Fixed on the live server and committed the previously SCP-only script
here so future edits go through git instead of being SSH-only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 17:08:58 +03:00
..
sql Merge production (account center + login redesign) into main 2026-09-12 14:36:52 +03:00
supabase-selfhosted Ops: add self-hosted Supabase stack for Timeweb Cloud migration 2026-09-11 16:20:45 +03:00
timeweb ops: add api.caterium.ru proxy script to repo, fix auth CORS 2026-09-13 17:08:58 +03:00
prepare-catalog-photos.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
server.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00