saveinmed/backend/internal/http
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
..
handler Add rating and dashboard endpoints 2025-12-18 13:19:21 -03:00
middleware feat(backend): add configurable CORS and optimize Dockerfile 2025-12-19 17:34:30 -03:00