Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Merge branch 'main' into content-moderation

Matt Roberts198724f115b7
diff --cc app/pkg/env/env.go
index ed38d5cd9,2c7bc5e4f..fc1fee739
--- a/app/pkg/env/env.go
+++ b/app/pkg/env/env.go
@@@ -141,13 -144,11 +141,16 @@@ type config struct
Message string `env:"MAINTENANCE_MESSAGE"`
Until string `env:"MAINTENANCE_UNTIL"`
}
+ Webhook struct {
+ DisableOnFailure bool `env:"WEBHOOK_DISABLE_ON_FAILURE,default=true"`
+ }
GoogleAnalytics string `env:"GOOGLE_ANALYTICS"`
SearchNoiseWords string `env:"SEARCH_NOISE_WORDS,default=add|support|for|implement|create|make|allow|enable|provide|some|also|include|very|make|and|for|to|a|able|function|feature|app"`
+ License struct {
+ PrivateKey string `env:"LICENSE_PRIVATE_KEY"` // Ed25519 private key for hosted instances (base64 encoded)
+ PublicKey string `env:"LICENSE_PUBLIC_KEY"` // Ed25519 public key for license validation (base64 encoded)
+ Key string `env:"COMMERCIAL_KEY"` // Self-hosted instance's license key
+ }
}
// Config is a strongly typed reference to all configuration parsed from Environment Variables