更改密钥

This commit is contained in:
2026-07-15 12:42:02 +08:00
parent 07331af193
commit 6d823699bf
4 changed files with 58 additions and 61 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
mixed-port: 7897
allow-lan: true
allow-lan: false
bind-address: "*"
mode: rule
log-level: info
@@ -58,7 +58,7 @@ tun:
proxy-providers:
赔钱机场:
type: http
url: https://dash.xn--cp3a08l.com/api/v1/pq/8424b1c22e1363a5906a156b2e849937?flag=meta
url: https://dash.xn--cp3a08l.com/api/v1/pq/9e314637568476bc4cfbd0a8d9799d0f?flag=meta
interval: 86400
path: ./proxy_providers/airport-a.yaml
health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 300, lazy: true}
+1 -4
View File
@@ -1,7 +1,6 @@
#include "export.h"
std::string fetch_config_yml() {
static std::string token = "8424b1c22e1363a5906a156b2e849937";
static std::string token = "9e314637568476bc4cfbd0a8d9799d0f";
httplib::SSLClient client("dash.xn--cp3a08l.com", 443);
client.set_follow_location(true);
auto path = "/api/v1/pq/" + token + "?flag=meta";
@@ -59,8 +58,6 @@ std::string read_file_content(const std::string& path) {
}
return std::string(std::istreambuf_iterator<char>(ifs), std::istreambuf_iterator<char>());
}
bool contain(const std::string& s, const std::string& key) {
return s.find(key) != std::string::npos;
}
+1 -1
View File
@@ -78,7 +78,7 @@ tun:
proxy-providers:
赔钱机场:
type: http
url: "https://dash.xn--cp3a08l.com/api/v1/pq/8424b1c22e1363a5906a156b2e849937?flag=meta"
url: "https://dash.xn--cp3a08l.com/api/v1/pq/9e314637568476bc4cfbd0a8d9799d0f?flag=meta"
interval: 86400
path: ./proxy_providers/airport-a.yaml
health-check: { enable: true, url: "https://www.gstatic.com/generate_204", interval: 300, lazy: true }
+2 -2
View File
@@ -3,11 +3,11 @@
#GET https://dash.xn--cp3a08l.com/api/v1/pq/8424b1c22e1363a5906a156b2e849937
#GET https://dash.xn--cp3a08l.com/api/v1/pq/9e314637568476bc4cfbd0a8d9799d0f
@host = https://dash.xn--cp3a08l.com
@token = 8424b1c22e1363a5906a156b2e849937
@token = 9e314637568476bc4cfbd0a8d9799d0f
### 原始订阅
GET {{host}}/api/v1/pq/{{token}}