Merge pull request #55 from DesperadoJ/patch-1

Refine code
This commit is contained in:
tokumeikoi 2020-02-24 01:46:16 +08:00 committed by GitHub
commit 8ff53673d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,9 +33,6 @@ class ClientController extends Controller
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
die($this->quantumult($user, $server));
}
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clashforandroid') !== false) {
die($this->clash($user, $server));
}
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clash') !== false) {
die($this->clash($user, $server));
}