applyRewriteRules
Callable
Parameters
path: string
The path to apply the rules to.
rules: RewriteRule[]
The rules to apply.
Returns string
The path with the rules applied.
The path to apply the rules to.
The rules to apply.
The path with the rules applied.
Applies the given rewrite rules to the given path.