From 60df0aee2e9283ae29f60596244e53c9790a3677 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 3 Dec 2021 00:19:47 +0100 Subject: nocache / --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3a9a0f2..f7914da 100644 --- a/main.go +++ b/main.go @@ -275,7 +275,7 @@ func main() { jh := noCache(&jsonHandler{&geoipdb}) mux.Handle("/json", jh) - th := &txtHandler{&geoipdb} + th := noCache(&txtHandler{&geoipdb}) mux.Handle("/", th) mtr := http.NewServeMux() -- cgit v1.2.3