- 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 |
||
|---|---|---|
| .. | ||
| auth.go | ||
| compress.go | ||
| cors.go | ||
| logging.go | ||