CORS problem solution

This commit is contained in:
2026-07-03 12:54:23 +05:00
parent 25b5eaea55
commit 56e90a54d8
5 changed files with 15 additions and 22 deletions

View File

@@ -1,10 +1,9 @@
PORT=3101
branch=
DATABASE_URL=postgres://greact:pG3526l4@194.36.208.86:5433/cloud
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# Optional. When set, POST /ingest requires x-api-key: <value>.
# Optional. When set, POST /api/ingest requires x-api-key: <value>.
INGEST_API_KEY=
# Poll interval for GET /current/events SSE snapshots.
# Poll interval for GET /api/current/events SSE snapshots.
CURRENT_EVENTS_POLL_MS=1000