小调整。

pull/376/head
王良 2024-10-16 20:52:22 +08:00
parent 6add5c1138
commit 09023f57f9
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module.exports = class FakeServersCenter {
getServerPromise (hostname, port, ssl, manualCompatibleConfig) {
if (port === 443 || port === 80) {
ssl = port === 443
} else {
} else if (ssl) {
// 兼容程序1
const compatibleConfig = compatible.getConnectCompatibleConfig(hostname, port, manualCompatibleConfig)
if (compatibleConfig && compatibleConfig.ssl != null) {