Add CORS Support to allow frontend requests
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m28s

This commit is contained in:
2026-06-03 13:22:14 +02:00
parent d348d0bcbe
commit ce93c5f423
4 changed files with 22 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ type Config struct {
LISTEN_ON string `json:"listen_on"`
TRUSTED_PROXIES []string `json:"trusted_proxies"`
OTLP_ENDPOINT string `json:"otlp_endpoint"`
ALLOWED_ORIGINS []string `json:"allowed_origins"`
}
func Read() *Config {