From 794445b230ddad08480f35d58f4694023e5f7006 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sun, 18 Feb 2024 08:46:42 -0800 Subject: fix: args/flags clean up, remove repobase from config --- internal/admin/middleware.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/admin/middleware.go') diff --git a/internal/admin/middleware.go b/internal/admin/middleware.go index 60274ad..8b88c83 100644 --- a/internal/admin/middleware.go +++ b/internal/admin/middleware.go @@ -1,15 +1,13 @@ package admin import ( - "log" "net/http" ) // Hooks middleware to handle requests to the admin repo. func Hooks(adminSvc *Servicer, next http.Handler) http.Handler { return http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) { - log.Printf("stuffs about to reload %s", "now") - next.ServeHTTP(rw, req) go adminSvc.Reload() + next.ServeHTTP(rw, req) }) } -- cgit v1.2.3