no message
This commit is contained in:
parent
44b3978ad4
commit
5ee907c615
@ -33,8 +33,7 @@ final class SubController extends BaseController
|
|||||||
$subtype_list = ['json', 'clash', 'sip008', 'singbox', 'v2rayjson', 'sip002', 'ss', 'v2ray', 'trojan'];
|
$subtype_list = ['json', 'clash', 'sip008', 'singbox', 'v2rayjson', 'sip002', 'ss', 'v2ray', 'trojan'];
|
||||||
|
|
||||||
if (! $_ENV['Subscribe'] ||
|
if (! $_ENV['Subscribe'] ||
|
||||||
! in_array($subtype, $subtype_list) ||
|
! in_array($subtype, $subtype_list)
|
||||||
'https://' . $request->getHeaderLine('Host') !== $_ENV['subUrl']
|
|
||||||
) {
|
) {
|
||||||
return ResponseHelper::error($response, $err_msg);
|
return ResponseHelper::error($response, $err_msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user