fix: Unknown Message
This is the `n`th time I've tried to fix this and luckily it worked Fix: #1194 #1177 #1168 #1108 #1045 Co-Authored-By: The DT <80153297+thedtvn@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,7 @@ class APIRequest {
|
||||
for (const [k, v] of Object.entries({
|
||||
keepAlive: true,
|
||||
honorCipherOrder: true,
|
||||
minVersion: 'TLSv1.2',
|
||||
secureProtocol: 'TLSv1_2_method',
|
||||
ciphers: ciphers.join(':'),
|
||||
})) {
|
||||
this.client.options.http.agent.options[k] = v;
|
||||
@@ -57,7 +57,7 @@ class APIRequest {
|
||||
...this.client.options.http.agent,
|
||||
keepAlive: true,
|
||||
honorCipherOrder: true,
|
||||
minVersion: 'TLSv1.2',
|
||||
secureProtocol: 'TLSv1_2_method',
|
||||
ciphers: ciphers.join(':'),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user