Update CORS configuration to include production URLs
Browse filesAdd Vercel and Hugging Face deployment URLs to allowed CORS origins to enable frontend access from production environments.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- .env.example +1 -1
.env.example
CHANGED
|
@@ -11,7 +11,7 @@ JWT_EXPIRATION_HOURS=168
|
|
| 11 |
BETTER_AUTH_SECRET=3gHSWlEDitVGXMw9B9d1YcXriLhyxltr
|
| 12 |
|
| 13 |
# CORS Configuration
|
| 14 |
-
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
| 15 |
|
| 16 |
# Environment
|
| 17 |
ENVIRONMENT=development
|
|
|
|
| 11 |
BETTER_AUTH_SECRET=3gHSWlEDitVGXMw9B9d1YcXriLhyxltr
|
| 12 |
|
| 13 |
# CORS Configuration
|
| 14 |
+
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,https://bilal-taskflow-fullstack.vercel.app,https://bilalcode-taskflow.hf.space
|
| 15 |
|
| 16 |
# Environment
|
| 17 |
ENVIRONMENT=development
|