From 9b02ff537371e8310ee11fdecf16f9024df2c67a Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 3 Jan 2025 09:24:03 +0100 Subject: [PATCH] docs: correct the description of the callback parameter of req.rewriteURL() function --- pages/docs/api/svrjs-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/api/svrjs-api.md b/pages/docs/api/svrjs-api.md index 1eb986e..0d5821e 100644 --- a/pages/docs/api/svrjs-api.md +++ b/pages/docs/api/svrjs-api.md @@ -182,7 +182,7 @@ The name of authenticated HTTP user. If the user wasn't authenticated, the prope Parameters: - _rewrittenURL_ - the rewritten request URL (with query string) (_String_) -- _callback_ - the callback invoked after the request URL (_Function_) +- _callback_ - the callback invoked after rewriting the request URL (_Function_) Rewrites the request URL to the _rewrittenURL_ parameter. Also invokes the URL sanitizer after initial rewriting.