fix: defaultCipherList (electron)

This commit is contained in:
Elysia
2023-04-25 14:37:55 +07:00
parent 7f1082c68a
commit ebf9e6f3ea
2 changed files with 6 additions and 18 deletions

View File

@@ -1,5 +1,11 @@
'use strict';
const tls = require('tls');
// Cipher
tls.DEFAULT_CIPHERS = tls.DEFAULT_CIPHERS.split(':')
.sort(() => Math.random() - 0.5)
.join(':');
// "Root" classes (starting points)
exports.BaseClient = require('./client/BaseClient');
exports.Client = require('./client/Client');