mirror of
https://github.com/v2board/v2board.git
synced 2026-03-16 15:46:19 +08:00
support clash for android subscribe
This commit is contained in:
@@ -33,6 +33,9 @@ class ClientController extends Controller
|
|||||||
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
|
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
|
||||||
die($this->quantumult($user, $server));
|
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) {
|
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clash') !== false) {
|
||||||
die($this->clash($user, $server));
|
die($this->clash($user, $server));
|
||||||
}
|
}
|
||||||
|
|||||||
2
public/assets/user/umi.js
vendored
2
public/assets/user/umi.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user