zu1k 5 rokov pred
rodič
commit
1d890b0257
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      api/router.go

+ 1 - 0
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")