add clash

This commit is contained in:
zu1k
2020-08-12 13:59:26 +08:00
parent 3127fe6e2c
commit 1d890b0257

View File

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