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:
parent
97730f2f2d
commit
01e230c7fc
|
|
@ -9,7 +9,7 @@ JWT_SECRET=change-me-change-me-change-me-change-me
|
||||||
ADMIN_EMAILS=admin@example.com
|
ADMIN_EMAILS=admin@example.com
|
||||||
STAFF_EMAILS=
|
STAFF_EMAILS=
|
||||||
# Browser origins allowed to call the API (site, admin). The mobile app needs none.
|
# 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
|
SITE_URL=http://localhost:3000
|
||||||
ADMIN_URL=http://localhost:5173
|
ADMIN_URL=http://localhost:5173
|
||||||
# Empty RESEND_API_KEY = emails (and OTP codes) are printed to the console instead of sent.
|
# Empty RESEND_API_KEY = emails (and OTP codes) are printed to the console instead of sent.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user