mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-03 18:22:57 +00:00
dev day #89
This commit is contained in:
@@ -76,7 +76,10 @@ type Config struct {
|
||||
UmamiURL string
|
||||
UmamiUsername string
|
||||
UmamiPassword string
|
||||
UmamiWebsiteID string // If empty, will auto-create on production
|
||||
UmamiWebsiteID string
|
||||
|
||||
ErrorIngestURL string
|
||||
ErrorIngestToken string
|
||||
|
||||
// Antivirus (optional)
|
||||
ClamAVEnabled bool
|
||||
@@ -182,6 +185,9 @@ func LoadConfig() {
|
||||
UmamiPassword: getEnv("UMAMI_PASSWORD", ""),
|
||||
UmamiWebsiteID: getEnv("UMAMI_WEBSITE_ID", ""),
|
||||
|
||||
ErrorIngestURL: getEnv("ERROR_INGEST_URL", ""),
|
||||
ErrorIngestToken: getEnv("ERROR_INGEST_TOKEN", ""),
|
||||
|
||||
// Antivirus (optional)
|
||||
ClamAVEnabled: getEnvAsBool("CLAMAV_ENABLED", false),
|
||||
ClamAVHost: getEnv("CLAMAV_HOST", "127.0.0.1"),
|
||||
|
||||
Reference in New Issue
Block a user