mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-10-29 07:54:43 +00:00
dev day #89
This commit is contained in:
1 parent
d5b4faea61
commit
8762bde4bf
139 files changed
+7240
-2870
No files matched your search
@@ -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