feat(config): Add support for HTTP proxies on outgoing requests

This commit is contained in:
Jesse Wierzbinski 2024-06-25 17:13:40 -10:00
parent 0ecb65de29
commit b8b822e553
No known key found for this signature in database
13 changed files with 225 additions and 136 deletions

View file

@ -63,6 +63,7 @@ export default class EmojiAdd extends BaseCommand<typeof EmojiAdd> {
headers: {
"Accept-Encoding": "identity",
},
proxy: config.http.proxy.address,
});
if (!response.ok) {

View file

@ -70,6 +70,7 @@ export default class EmojiImport extends BaseCommand<typeof EmojiImport> {
headers: {
"Accept-Encoding": "identity",
},
proxy: config.http.proxy.address,
});
if (!response.ok) {