Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 20:48:52 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 21:15:32 +0300
commit288374d5fa6eedb3131326e60437c0acf058d32f (patch)
tree155a4ab4f59de4807541caeae130166f5685babf /web
parent1f7c79c7359367d54ca0c0080fc78acffe678805 (diff)
Update README.md
Diffstat (limited to 'web')
-rw-r--r--web/service/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/service/server.go b/web/service/server.go
index d8a2239b..d0ca6e21 100644
--- a/web/service/server.go
+++ b/web/service/server.go
@@ -179,7 +179,7 @@ func (s *ServerService) GetStatus(lastStatus *Status) *Status {
}
func (s *ServerService) GetXrayVersions() ([]string, error) {
- url := "https://api.github.com/repos/mhsanaei/Xray-core/releases"
+ url := "https://api.github.com/repos/MHSanaei/Xray-core/releases"
resp, err := http.Get(url)
if err != nil {
return nil, err
@@ -246,7 +246,7 @@ func (s *ServerService) downloadXRay(version string) (string, error) {
}
fileName := fmt.Sprintf("Xray-%s-%s.zip", osName, arch)
- url := fmt.Sprintf("https://github.com/mhsanaei/Xray-core/releases/download/%s/%s", version, fileName)
+ url := fmt.Sprintf("https://github.com/MHSanaei/Xray-core/releases/download/%s/%s", version, fileName)
resp, err := http.Get(url)
if err != nil {
return "", err