diff --git a/api/router.go b/api/router.go index 5a10563..a24bc6c 100644 --- a/api/router.go +++ b/api/router.go @@ -12,6 +12,8 @@ import ( "github.com/zu1k/proxypool/pkg/provider" ) +const version = "v0.3.0" + var router *gin.Engine func setupRouter() { @@ -28,6 +30,7 @@ func setupRouter() { "trojan_proxies_count": cache.TrojanProxiesCount, "useful_proxies_count": cache.UsefullProxiesCount, "last_crawl_time": cache.LastCrawlTime, + "version": version, }) }) diff --git a/assets/html/index.html b/assets/html/index.html index cb63fee..d9dd8c7 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -120,8 +120,8 @@ href="clash://install-config?url=https://{{ .domain }}/clash/config">一键导入
Clash proxy-provider(Shadowrocket添加订阅方式可用):https://{{ .domain }}/clash/proxies
-所有节点的Provider(不是都可以用):https://{{ .domain }}/clash/proxies?type=all -
+筛选代理类型:https://{{ .domain }}/clash/proxies?type=ss,ssr,vmess
+筛选国家:https://{{ .domain }}/clash/proxies?c=HK,TW,US
Surge配置文件:https://{{ .domain }}/surge/config
抓取程序已开源:https://github.com/zu1k/proxypool 抓取程序已开源:https://github.com/zu1k/proxypool {{ .version }}
{{- /* 所有使用本代码提供服务的禁止删除该行*/}}
-