Added proxy.

This commit is contained in:
2026-08-17 22:48:02 +02:00
parent 5c7a0397c9
commit 941cb280be
18 changed files with 254 additions and 50 deletions

View File

@@ -99,4 +99,19 @@ module.exports = {
clientId: null,
},
},
proxy: {
use: true,
default: null,
hosts: {
// hostnames are matched by suffix, so e.g. 'reddit.com' also covers
// 'www.reddit.com', but not 'v.redd.it' or 'redd.it' - those need their own
// entry, or fall back to `default`. A host entry can be:
// - a proxy URL, to override `default` for that host
// - `true`, to explicitly use `default` for that host
// - `null`/`false`, to explicitly exclude that host from `default`
// 'reddit.com': true,
// 'v.redd.it': null,
// 'imgur.com': 'socks5://127.0.0.1:9050',
},
},
};