Added proxy.
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user