update clash config

This commit is contained in:
zu1k
2020-08-11 20:15:09 +08:00
parent 3c724d5ee2
commit 65e72e9fd8
2 changed files with 1148 additions and 10 deletions

View File

@@ -14,6 +14,7 @@ var router *gin.Engine
func setupRouter() {
router = gin.Default()
router.StaticFile("/clash/config", "example/clash-config.yaml")
router.GET("/clash/proxies", func(c *gin.Context) {
proxies := app.GetProxies()
clash := provider.Clash{Proxies: proxies}

File diff suppressed because it is too large Load Diff