You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update CORS configuration in app.ts to dynamically handle allowed origins.
- Introduce the allowedOrigins field in config.ts.
- Read allowed origins from the environment variable ALLOWED_ORIGINS.
- Improve error handling to reject requests from disallowed origins.
Closes: Dynamically configure CORS using based on allowed origins from the environment variables #24
- Update CORS configuration in app.ts to dynamically handle allowed origins.
- Introduce the allowedOrigins field in config.ts.
- Read allowed origins from the environment variable ALLOWED_ORIGINS.
- Improve error handling to reject requests from disallowed origins.
Closes: Dynamically configure CORS using based on allowed origins from the environment variables #24
Instead of configuring the accepted origins for CORS, let's load these supported origins from the environment.
The text was updated successfully, but these errors were encountered: