From bcc80581d342c41ef09b3bfa5658ef249b4de219 Mon Sep 17 00:00:00 2001 From: DesperadoJ <38433236+DesperadoJ@users.noreply.github.com> Date: Sat, 21 Mar 2020 19:50:29 +0800 Subject: [PATCH] Fix Quantumult sub --- app/Http/Controllers/Client/ClientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index 1ab14ea2..6e5ef286 100755 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -68,7 +68,7 @@ class ClientController extends Controller $str = ''; $str .= $item->name . '= vmess, ' . $item->host . ', ' . $item->port . ', chacha20-ietf-poly1305, "' . $user->v2ray_uuid . '", over-tls=' . ($item->tls ? "true" : "false") . ', certificate=0, group=' . config('v2board.app_name', 'V2Board'); if ($item->network === 'ws') { - $str .= ', obfs=' . ($item->tls ? 'wss' : 'ws'); + $str .= ', obfs=ws'; if ($item->networkSettings) { $wsSettings = json_decode($item->networkSettings); if (isset($wsSettings->path)) $str .= ', obfs-path="' . $wsSettings->path . '"';