about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/local/pager.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 6877133b..4a3e9b57 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1330,6 +1330,7 @@ proc redirectTo(pager: Pager; container: Container; request: Request) =
   pager.alert("Redirecting to " & $request.url)
   pager.gotoURL(request, some(container.url), replace = container,
     redirectdepth = container.redirectdepth + 1, referrer = container)
+  dec pager.numload
 
 proc fail*(pager: Pager; container: Container; errorMessage: string) =
   dec pager.numload