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:
Elysia
2024-07-06 13:31:26 +07:00
parent 9b2b2ff609
commit 558189b217
3 changed files with 2 additions and 11 deletions

View File

@@ -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(':'),
});
}