Add Callback option to the config

This commit is contained in:
2024-09-24 23:04:04 +02:00
parent a0cc3c3e0a
commit 21975e9e47
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -6,5 +6,6 @@
"channels": ["#channel", "#channel2"],
"geoip_database": "/app/geolite2-city.mmdb",
"geoip_asn": "/app/geolite2-asn.mmdb",
"callback": false,
"debug": false
}
+1
View File
@@ -14,6 +14,7 @@ type Config struct {
Channels []string `json:"channels"`
GeoIPDatabase string `json:"geoip_database"`
GeoIPASN string `json:"geoip_asn"`
Callback bool `json:"callback"`
Debug bool `json:"debug"`
}