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")