diff --git a/README.md b/README.md index 8b22394..a63f360 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ password: admin

VPS: поставить Hub, Xray, firewall и HTTPS одной командой

```sh -curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/install-vps.sh?v=$(date +%s)" | sudo sh +curl -fsSL "https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main/vps/install-vps.sh?v=$(date +%s)" | sudo sh ``` Установщик спросит: @@ -165,7 +165,7 @@ hub.example.com

OpenWrt: поставить Remote Hub на роутер

```sh -wget -O - "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/install.sh?v=$(date +%s)" | sh +wget -O - "https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main/install.sh?v=$(date +%s)" | sh ``` Проверка на роутере: @@ -426,7 +426,7 @@ flowchart LR ```sh -curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/install-vps.sh?v=$(date +%s)" | sudo env RESET_LOGIN=0 sh +curl -fsSL "https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main/vps/install-vps.sh?v=$(date +%s)" | sudo env RESET_LOGIN=0 sh ```
@@ -436,7 +436,7 @@ curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/
```sh -curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- YOUR_VPS_IP +curl -fsSL "https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- YOUR_VPS_IP ``` diff --git a/install.sh b/install.sh index 479b09e..a37fd37 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -eu export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH:-}" -RAW_URL="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}" +RAW_URL="${RAW_URL:-https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main}" ROOT="${ROOT:-/}" SCRIPT_DIR="$(CDPATH= cd "$(dirname "$0")" 2>/dev/null && pwd)" diff --git a/vps/install-vps.sh b/vps/install-vps.sh index 6063005..11a7ac2 100755 --- a/vps/install-vps.sh +++ b/vps/install-vps.sh @@ -3,7 +3,7 @@ set -u APP_NAME="OpenWrt Remote Hub" INSTALLER_VERSION="2026-08-17-https-bootstrap-v1" -RAW_BASE="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}" +RAW_BASE="${RAW_URL:-https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main}" XRAY_INSTALL_SCRIPT_URL="${XRAY_INSTALL_SCRIPT_URL:-https://github.com/XTLS/Xray-install/raw/main/install-release.sh}" STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}" HUB_LOGIN="${HUB_LOGIN:-admin}" @@ -273,7 +273,7 @@ print_result() { if [ "${HTTPS_OK:-0}" != "1" ]; then info "" info "Включить HTTPS вручную:" - info ' curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host" + info ' curl -fsSL "https://gitlab.com/kzolotarev95/luci-app-owrt-remote/-/raw/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host" fi info "============================================================" }