mirror of
https://github.com/ZeroDream-CN/SakuraPanel.git
synced 2025-01-12 01:42:52 +08:00
Update index.php
This commit is contained in:
parent
66d2d0f004
commit
8a898d9e79
@ -28,7 +28,7 @@ $nm = new NodeManager();
|
||||
|
||||
// 服务端 API 部分
|
||||
// 先进行 Frps 鉴权
|
||||
if((isset($_GET['apitoken']) && $_GET['apitoken'] == API_TOKEN) || (isset($_GET['action']) && $_GET['action'] == "getconf")) {
|
||||
if(isset($_GET['apitoken']) || (isset($_GET['action']) && $_GET['action'] == "getconf")) {
|
||||
|
||||
if(isset($_GET['apitoken'])) {
|
||||
// 取得节点 ID
|
||||
|
Loading…
Reference in New Issue
Block a user