From 1d890b025789d795649645a77c7f90d2f9a32cea Mon Sep 17 00:00:00 2001 From: zu1k Date: Wed, 12 Aug 2020 13:59:26 +0800 Subject: [PATCH] add clash --- api/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/router.go b/api/router.go index 3f845c9..0ee92f5 100644 --- a/api/router.go +++ b/api/router.go @@ -15,6 +15,7 @@ var router *gin.Engine func setupRouter() { router = gin.Default() + router.StaticFile("/clash", "example/clash.html") router.StaticFile("/clash/config", "example/clash-config.yaml") router.GET("/clash/proxies", func(c *gin.Context) { text := cache.GetString("clashproxies")