更改密钥
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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 }
|
||||
|
||||
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user