From f83d908d995c412a0070065a794df0d3f3915222 Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 13 Feb 2018 12:03:29 -0600 Subject: [PATCH] fix format of list refresh query --- app/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.go b/app/main.go index e077260c..0e2a8fca 100644 --- a/app/main.go +++ b/app/main.go @@ -108,7 +108,7 @@ func main() { srv.Cache = common.NewLoadingCache(4*time.Hour, 15*time.Minute, func() { // set post-flush callback for _, site := range opts.Sites { - resp, err := http.Get("http://localhost:8080/api/v1/list?" + site) + resp, err := http.Get("http://localhost:8080/api/v1/list?site=" + site) if err != nil { log.Printf("[WARN] failed to refresh cached list for %s, %s", site, err) return