caddyserver / replace-response

Caddy module that performs replacements in response bodies
Apache License 2.0
98 stars 27 forks source link

Update documentation to reference path matchers #29

Closed SuspiciousDuck closed 3 months ago

SuspiciousDuck commented 3 months ago

In the documentation, it doesn't say that you can use path matchers with replace. The README file should show something like replace [matcher] [stream | [re] <search> <replace>], to show that path matcher can be used with replace. It also doesn't mention path matchers in the caddyserver.com documentation.

mholt commented 3 months ago

Good point. It is an HTTP handler, so it accepts a matcher token as the first argument in the Caddyfile. We should update the Readme to show this.