diff options
| author | Fuwn <[email protected]> | 2022-02-22 00:50:51 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-02-22 00:50:51 -0800 |
| commit | 5ddf4db7c4ed84fb041eaf066eec3cf3f7e73112 (patch) | |
| tree | e25c2ad6bd6cb4518f16252cbde6d3e1c94f9502 /Capybara.yaml | |
| parent | Merge remote-tracking branch 'upstream/master' (diff) | |
| download | capybara-5ddf4db7c4ed84fb041eaf066eec3cf3f7e73112.tar.xz capybara-5ddf4db7c4ed84fb041eaf066eec3cf3f7e73112.zip | |
feat(#2): optionally, do not proxy url(s)
If the user provides a `Capybara.yaml` with the `capybara.keep_gemini`
key, do not proxy the provided values (URLs).
Also implements a rudimentary configuration system for future extension.
Thanks, @WellsBit!
Diffstat (limited to 'Capybara.yaml')
| -rw-r--r-- | Capybara.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Capybara.yaml b/Capybara.yaml new file mode 100644 index 0000000..bc9e04b --- /dev/null +++ b/Capybara.yaml @@ -0,0 +1,6 @@ +capybara: + keep_gemini: # A list of hosts where if the host is present; the URL will not be proxied + - fuwn.me # + # Example: + # Proxied: `gemini://gem.rest` becomes `/proxy/gem.rest` + # Not proxied (present in `capybara.keep_gemini`): `gemini://gem.rest` is kept |