Add CORS Support to allow frontend requests
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m28s
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m28s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user