Update index.php

pull/20/head
Akkariin Meiko 2021-01-24 23:35:36 +08:00 committed by GitHub
parent 66d2d0f004
commit 8a898d9e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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