Add Callback option to the config
This commit is contained in:
@@ -6,5 +6,6 @@
|
|||||||
"channels": ["#channel", "#channel2"],
|
"channels": ["#channel", "#channel2"],
|
||||||
"geoip_database": "/app/geolite2-city.mmdb",
|
"geoip_database": "/app/geolite2-city.mmdb",
|
||||||
"geoip_asn": "/app/geolite2-asn.mmdb",
|
"geoip_asn": "/app/geolite2-asn.mmdb",
|
||||||
|
"callback": false,
|
||||||
"debug": false
|
"debug": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ type Config struct {
|
|||||||
Channels []string `json:"channels"`
|
Channels []string `json:"channels"`
|
||||||
GeoIPDatabase string `json:"geoip_database"`
|
GeoIPDatabase string `json:"geoip_database"`
|
||||||
GeoIPASN string `json:"geoip_asn"`
|
GeoIPASN string `json:"geoip_asn"`
|
||||||
|
Callback bool `json:"callback"`
|
||||||
Debug bool `json:"debug"`
|
Debug bool `json:"debug"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user