From 2a87964a794b050599b5352110d858b80eacecc4 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Sat, 11 Apr 2020 23:08:10 +0200 Subject: [feat] nocache --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index aa57c86..e883834 100644 --- a/main.go +++ b/main.go @@ -254,7 +254,7 @@ func main() { bonafide.listGateways() mux := http.NewServeMux() - jh := &jsonHandler{&geoipdb} + jh := noCache(&jsonHandler{&geoipdb}) mux.Handle("/json", jh) th := &txtHandler{&geoipdb} -- cgit v1.2.3