From 3bb06819bc66e61cc3f0e7ad98787f4b0ef3aae3 Mon Sep 17 00:00:00 2001 From: Vahid Farid Date: Wed, 27 Mar 2024 16:21:23 +0330 Subject: [PATCH] Update helpers.ts --- src/helpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/helpers.ts b/src/helpers.ts index 706812e2..f84d8503 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -34,18 +34,16 @@ export function GetVlessConfig(no: number, uuid: UUID, sni: string, address: str return { remarks: `${no}-vless-worker-${address}`, configType: "vless", + security: "tls", tls: "tls", network: "ws", port: port, sni: sni, uuid: uuid, - fp: "randomized", - alpn: "h3,h2,http/1.1", host: sni, path: "vless-ws/?ed=2048", address: address, } as Config - // return `vless://${uuid}@${address}:${port}?encryption=none&security=tls&sni=${sni}&fp=${fp}&alpn=${alpn}&type=ws&host=${sni}&path=vless-ws%2F%3Fed%3D2048#${no}-vless-worker-${address}` } export function IsBase64(str: string): boolean {