Skip to content

Commit 5bd0086

Browse files
committed
docs: update .env.example to include CORS/CSRF origins configuration
1 parent 420d6b9 commit 5bd0086

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
DATABASE_URL=postgresql://user:password@localhost:5432/training_app
22
PAYLOAD_SECRET=your-long-random-secret-here
33
NEXT_PUBLIC_BASE_URL=http://localhost:3000
4+
# Optional: extra allowed CORS/CSRF origins, comma-separated (defaults to NEXT_PUBLIC_BASE_URL)
5+
# PAYLOAD_CORS=https://example.com,https://www.example.com

0 commit comments

Comments
 (0)