From fa541b47198996f438da6960a30d54d8c521bfd3 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Wed, 13 Mar 2024 02:17:30 +0100 Subject: [PATCH] v1.8.0 --- README.md | 4 ++-- config/version | 2 +- sub/subController.go | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b54984a313..407af191e7 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.s ## Install Custom Version -**Step 1:** To install your desired version, add the version to the end of the installation command. e.g., ver `1.7.1`: +**Step 1:** To install your desired version, add the version to the end of the installation command. e.g., ver `1.8.0`: ```sh -bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) 1.7.1 +bash <(curl -Ls https://raw.githubusercontent.com/alireza0/x-ui/master/install.sh) 1.8.0 ``` ## Manual Install & Upgrade diff --git a/config/version b/config/version index 0a182f2e3a..afa2b3515e 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.7.2 \ No newline at end of file +1.8.0 \ No newline at end of file diff --git a/sub/subController.go b/sub/subController.go index 325d45190b..8fd39efa49 100644 --- a/sub/subController.go +++ b/sub/subController.go @@ -53,7 +53,6 @@ func (a *SUBController) initRouter(g *gin.RouterGroup) { } func (a *SUBController) subs(c *gin.Context) { - println(c.Request.Header["User-Agent"][0]) subId := c.Param("subid") host := strings.Split(c.Request.Host, ":")[0] subs, header, err := a.subService.GetSubs(subId, host)