mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
fix map local examples
This commit is contained in:
parent
4d1d54d4a5
commit
ffe58ae34c
@ -12,3 +12,6 @@ tag = "tags"
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[security.funcs]
|
||||
getenv = ["DOCS_ARCHIVE"]
|
||||
|
@ -94,10 +94,10 @@ The _separator_ is arbitrary, and is defined by the first character (`|` in the
|
||||
|
||||
Pattern | Description
|
||||
------- | -----------
|
||||
`|example.com/main.js|~/main-local.js` | Replace `example.com/main.js` with `~/main-local.js`.
|
||||
`|example.com/static|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css`.
|
||||
`|example.com/static/foo|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/bar.css`.
|
||||
`|~m GET|example.com/static|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css` (but only for GET requests).
|
||||
`\|example.com/main.js\|~/main-local.js` | Replace `example.com/main.js` with `~/main-local.js`.
|
||||
`\|example.com/static\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css`.
|
||||
`\|example.com/static/foo\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/bar.css`.
|
||||
`\|~m GET\|example.com/static\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css` (but only for GET requests).
|
||||
|
||||
### Details
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user