Skip to content

Commit ae9528b

Browse files
authored
Update README for excludeallparams (#11)
1 parent 64f83b9 commit ae9528b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Remove all query parameters by passing in an empty string.
5050
```
5151
import querymodifier;
5252
set req.url = querymodifier.modifyparams(url=req.url, params="", exclude_params=true);
53+
# Or use the conveniecen function, `excludeallparams`.
54+
# set req.url = querymodifier.excludeallparams(url=req.url);
5355
5456
# Original URL: example.com/?search=name&ts=123456789&v=123456789&id=987654321
5557
# Modified URL: example.com/

0 commit comments

Comments
 (0)