diff --git a/api/router.go b/api/router.go index 05d6e9f..334e86b 100644 --- a/api/router.go +++ b/api/router.go @@ -13,9 +13,10 @@ var router *gin.Engine func setupRouter() { router = gin.Default() - router.StaticFile("/", "example/clash.html") - router.StaticFile("/clash", "example/clash.html") - router.StaticFile("/clash/config", "example/clash-config.yaml") + router.StaticFile("/", "assets/index.html") + router.StaticFile("/clash", "assets/clash.html") + router.StaticFile("/surge", "assets/surge.html") + router.StaticFile("/clash/config", "assets/clash-config.yaml") router.GET("/clash/proxies", func(c *gin.Context) { text := cache.GetString("clashproxies") if text == "" { diff --git a/example/clash-config.yaml b/assets/clash-config.yaml similarity index 100% rename from example/clash-config.yaml rename to assets/clash-config.yaml diff --git a/example/clash.html b/assets/clash.html similarity index 100% rename from example/clash.html rename to assets/clash.html diff --git a/assets/index.html b/assets/index.html new file mode 100644 index 0000000..847e1e8 --- /dev/null +++ b/assets/index.html @@ -0,0 +1,88 @@ + + +
+ + + +自动抓取tg频道、订阅地址、公开互联网上的ss、ssr、vmess节点信息,聚合去重后提供节点列表,每10分钟更新
+Clash配置文件:https://proxy.tgbot.co/clash/config 一键导入
+Clash proxy-provider:https://proxy.tgbot.co/clash/proxies
+Surge proxy list:https://proxy.tgbot.co/surge/proxies
+自动抓取tg频道、订阅地址、公开互联网上的ss、vmess节点信息,聚合去重后提供Surge节点列表,每10分钟更新
+Surge proxy list:https://proxy.tgbot.co/surge/proxies
+