Skip to content

Commit 57ae3a9

Browse files
committed
URL add aid 0
1 parent 61a41ff commit 57ae3a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ info() {
14301430
tcp | kcp | quic)
14311431
is_can_change=(0 1 5 7)
14321432
is_info_show=(0 1 2 3 4 5)
1433-
is_vmess_url=$(jq -c '{v:2,ps:'\"233boy-${net}-$is_addr\"',add:'\"$is_addr\"',port:'\"$port\"',id:'\"$uuid\"',net:'\"$net\"',type:'\"$header_type\"',path:'\"$kcp_seed\"'}' <<<{})
1433+
is_vmess_url=$(jq -c '{v:2,ps:'\"233boy-${net}-$is_addr\"',add:'\"$is_addr\"',port:'\"$port\"',id:'\"$uuid\"',aid:"0",net:'\"$net\"',type:'\"$header_type\"',path:'\"$kcp_seed\"'}' <<<{})
14341434
is_url=vmess://$(echo -n $is_vmess_url | base64 -w 0)
14351435
is_tmp_port=$port
14361436
[[ $is_dynamic_port ]] && {
@@ -1459,7 +1459,7 @@ info() {
14591459
is_url_path=serviceName
14601460
}
14611461
[[ $is_protocol == 'vmess' ]] && {
1462-
is_vmess_url=$(jq -c '{v:2,ps:'\"233boy-$host\"',add:'\"$is_addr\"',port:'\"443\"',id:'\"$uuid\"',net:'\"$net\"',host:'\"$host\"',path:'\"$path\"',tls:'\"tls\"'}' <<<{})
1462+
is_vmess_url=$(jq -c '{v:2,ps:'\"233boy-$host\"',add:'\"$is_addr\"',port:'\"443\"',id:'\"$uuid\"',aid:"0",net:'\"$net\"',host:'\"$host\"',path:'\"$path\"',tls:'\"tls\"'}' <<<{})
14631463
is_url=vmess://$(echo -n $is_vmess_url | base64 -w 0)
14641464
} || {
14651465
[[ $is_trojan ]] && {

xray.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

33
args=$@
4-
is_sh_ver=v1.07
4+
is_sh_ver=v1.08
55

66
. /etc/xray/sh/src/init.sh

0 commit comments

Comments
 (0)