From 01e230c7fcc94b22a88b7e4e45badb6f566881e0 Mon Sep 17 00:00:00 2001 From: kirukib Date: Tue, 17 Nov 2026 23:34:20 +0300 Subject: [PATCH] Allow the Expo web dev origin in the example CORS list Co-Authored-By: Claude Opus 5.5 --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index c975f4f..8be486f 100644 --- a/.env.example +++ b/.env.example @@ -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.