saveinmed/backend/internal
Tiago Yamamoto 916225f19e feat(backend): add configurable CORS and optimize Dockerfile
- 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
2025-12-19 17:34:30 -03:00
..
config feat(backend): add configurable CORS and optimize Dockerfile 2025-12-19 17:34:30 -03:00
domain Add rating and dashboard endpoints 2025-12-18 13:19:21 -03:00
http feat(backend): add configurable CORS and optimize Dockerfile 2025-12-19 17:34:30 -03:00
payments feat: implement CORS and externalize payments config 2025-12-18 08:07:45 -03:00
repository/postgres Add rating and dashboard endpoints 2025-12-18 13:19:21 -03:00
server feat(backend): add configurable CORS and optimize Dockerfile 2025-12-19 17:34:30 -03:00
usecase Add rating and dashboard endpoints 2025-12-18 13:19:21 -03:00