Skip to content

Commit

Permalink
Update helpers.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahid Farid committed Mar 27, 2024
1 parent af5a518 commit 3bb0681
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3bb0681

Please sign in to comment.