mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
drop nested config
This functionality was never actually used AFAICT, as no way to provide alternate profiles was ever provided. This changes the configuration format to remove the `[global]` section, everything that was previously under that namespace is now at the top level.
This commit is contained in:
parent
44088852cf
commit
003c0a4928
3 changed files with 10 additions and 11 deletions
|
|
@ -10,13 +10,12 @@ use crate::Result;
|
|||
/// ```
|
||||
/// - Global proxy
|
||||
/// ```toml
|
||||
/// [global.proxy]
|
||||
/// [proxy]
|
||||
/// global = { url = "socks5h://localhost:9050" }
|
||||
/// ```
|
||||
/// - Proxy some domains
|
||||
/// ```toml
|
||||
/// [global.proxy]
|
||||
/// [[global.proxy.by_domain]]
|
||||
/// [[proxy.by_domain]]
|
||||
/// url = "socks5h://localhost:9050"
|
||||
/// include = ["*.onion", "matrix.myspecial.onion"]
|
||||
/// exclude = ["*.myspecial.onion"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue