- Add CORS_ORIGINS env var for multiple domains support - Update config.go with CORSOrigins field and getEnvStringSlice helper - Rewrite CORS middleware with CORSWithConfig for dynamic origins - Update server.go to use configurable CORS - Update .env.example with all configuration variables - Optimize Dockerfile: switch to distroless image, update port to 8214 |
||
|---|---|---|
| .. | ||
| config | ||
| domain | ||
| http | ||
| payments | ||
| repository/postgres | ||
| server | ||
| usecase | ||