- /stats_config: write config
This commit is contained in:
parent
97684368b9
commit
8a2aa57e24
|
@ -44,6 +44,8 @@ func handleStatsConfig(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
config.DNS.StatsInterval = reqData.Interval
|
||||
_ = config.write()
|
||||
|
||||
config.stats.Configure(int(config.DNS.StatsInterval))
|
||||
|
||||
returnOK(w)
|
||||
|
|
Loading…
Reference in New Issue