Allow the Expo web dev origin in the example CORS list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kirukib 2026-11-17 23:34:20 +03:00
parent 97730f2f2d
commit 01e230c7fc

View File

@ -9,7 +9,7 @@ JWT_SECRET=change-me-change-me-change-me-change-me
ADMIN_EMAILS=admin@example.com
STAFF_EMAILS=
# Browser origins allowed to call the API (site, admin). The mobile app needs none.
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8081
SITE_URL=http://localhost:3000
ADMIN_URL=http://localhost:5173
# Empty RESEND_API_KEY = emails (and OTP codes) are printed to the console instead of sent.