update cicd
This commit is contained in:
@@ -11,7 +11,6 @@ type Config struct {
|
||||
Database DatabaseConfig
|
||||
Redis RedisConfig
|
||||
Google GoogleConfig
|
||||
Frontend FrontendConfig
|
||||
Email EmailConfig
|
||||
AWS AWSConfig
|
||||
Render RenderConfig
|
||||
@@ -25,7 +24,6 @@ type ServerConfig struct {
|
||||
}
|
||||
|
||||
type RenderConfig struct {
|
||||
AgentSecret string `mapstructure:"agent_secret"`
|
||||
EnableMetrics bool `mapstructure:"enable_metrics"`
|
||||
EnableTracing bool `mapstructure:"enable_tracing"`
|
||||
OTLPEndpoint string `mapstructure:"otlp_endpoint"`
|
||||
@@ -53,11 +51,6 @@ type GoogleConfig struct {
|
||||
StateTTLMinute int `mapstructure:"state_ttl_minutes"`
|
||||
}
|
||||
|
||||
type FrontendConfig struct {
|
||||
BaseURL string `mapstructure:"base_url"`
|
||||
GoogleAuthFinalizePath string `mapstructure:"google_auth_finalize_path"`
|
||||
}
|
||||
|
||||
type EmailConfig struct {
|
||||
From string
|
||||
// Add SMTP settings here later
|
||||
@@ -83,7 +76,6 @@ func LoadConfig() (*Config, error) {
|
||||
v.SetDefault("render.enable_tracing", false)
|
||||
v.SetDefault("render.service_name", "stream-api-render")
|
||||
v.SetDefault("google.state_ttl_minutes", 10)
|
||||
v.SetDefault("frontend.google_auth_finalize_path", "/auth/google/finalize")
|
||||
v.SetDefault("internal.marker", "")
|
||||
|
||||
// Environment variable settings
|
||||
|
||||
Reference in New Issue
Block a user