Skip to content

Commit 873207a

Browse files
author
JMVoid
committed
fix vmess subscribe bug
1 parent f2837d6 commit 873207a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Controllers/SubscribeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function index(Request $request, $code)
135135
"tls" => $node['v2_tls'] == 1 ? "tls" : ""
136136
];
137137

138-
$scheme .= 'vmess://' . base64url_encode(json_encode($v2_json));
138+
$scheme .= 'vmess://' . base64url_encode(json_encode($v2_json)) . "\n";
139139
}
140140
}
141141

0 commit comments

Comments
 (0)