summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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()