This commit is contained in:
Alireza Ahmadi
2024-03-13 02:17:30 +01:00
parent b6fe0c9342
commit fa541b4719
3 changed files with 3 additions and 4 deletions

View File

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

View File

@@ -1 +1 @@
1.7.2
1.8.0

View File

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