no message

This commit is contained in:
hellcat 2025-11-07 18:13:54 +08:00
parent 44b3978ad4
commit 5ee907c615
2 changed files with 2 additions and 3 deletions

View File

@ -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);
} }

View File

@ -107,7 +107,7 @@ class Ann extends Base {
return $this->find($aParam); return $this->find($aParam);
} }
public function post($aParam) public function post($aParam)
{ {
$iId = $aParam["aArg"][1] ?? false; $iId = $aParam["aArg"][1] ?? false;