diff options
Diffstat (limited to 'http_handle_gc.go')
-rw-r--r-- | http_handle_gc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http_handle_gc.go b/http_handle_gc.go index 5f98d0e..73bd2a6 100644 --- a/http_handle_gc.go +++ b/http_handle_gc.go @@ -8,7 +8,7 @@ import ( "runtime" ) -func httpHandleGC(w http.ResponseWriter, r *http.Request, _ map[string]any) { +func httpHandleGC(writer http.ResponseWriter, request *http.Request, _ map[string]any) { runtime.GC() - http.Redirect(w, r, "/", http.StatusSeeOther) + http.Redirect(writer, request, "/", http.StatusSeeOther) } |