alroyso 1 gadu atpakaļ
vecāks
revīzija
c3f3f1818b
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      lib/app/common/constants.dart
  2. 1 1
      lib/app/controller/config.dart

+ 1 - 1
lib/app/common/constants.dart

@@ -8,4 +8,4 @@ const KLogout = "/api/client/v2/logout";
 const KAuthUser = "/api/client/v2/authUser";
 const kNode = '';
 
-const kVersion = '2.0.3';
+const kVersion = '2.0.4';

+ 1 - 1
lib/app/controller/config.dart

@@ -78,7 +78,7 @@ class ConfigController extends GetxController {
       case 'v2ray':
         final type = (node.vless == 1) ? 'vless' : 'vmess';
         if (type == 'vless') {
-          return '''  - { name: ${node.name}, type: $type, server: ${node.host}, port: ${node.port}, uuid: ${node.uuid}, alterId: ${node.v2AlterId}, udp: 1, flow: xtls-rprx-vision, servername: www.amazon.com, tls: true, reality-opts: { public-key: ${node.vlessPulkey} } }''';
+          return '''  - { name: ${node.name}, type: $type, server: ${node.host}, port: ${node.port}, uuid: ${node.uuid}, alterId: ${node.v2AlterId}, udp: 1, flow: xtls-rprx-vision, servername: ${node.v2Sni}, tls: true, reality-opts: { public-key: ${node.vlessPulkey} } }''';
         } else {
           return '''  - { name: ${node.name}, type: $type, server: ${node.host}, port: ${node.port}, uuid: ${node.uuid}, alterId: ${node.v2AlterId}, cipher: ${node.method}, udp: 1 }''';
         }