docs: correct the description of the callback parameter of req.rewriteURL() function
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m5s

This commit is contained in:
Dorian Niemiec 2025-01-03 09:24:03 +01:00
parent 72be410e3c
commit 9b02ff5373

View file

@ -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.