diff --git a/README.md b/README.md index bd478204..e907e420 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)** | REST API | :heavy_check_mark: | | Telegram BOT (admin + clients) | :heavy_check_mark: | | Backup database using Telegram BOT | :heavy_check_mark: | -| Subscription link | :heavy_check_mark: | +| Subscription link + userInfo | :heavy_check_mark: | | Calculate expire date on first usage | :heavy_check_mark: | **If you think this project is helpful to you, you may wish to give a** :star2: @@ -46,19 +46,19 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)** - `/login` with `PUSH` user data: `{username: '', password: ''}` for login - `/xui/API/inbounds` base for following actions: -| Method | Path | Action | -| ------ | -------------------------------- | ------------------------------------------- | -| GET | "/" | Get all inbounds | -| GET | "/get/:id" | Get inbound with inbound.id | -| POST | "/add" | Add inbound | -| POST | "/del/:id" | Delete Inbound | -| POST | "/update/:id" | Update Inbound | -| POST | "/addClient/" | Add Client to inbound | -| POST | "/delClient/:email" | Delete Client | -| POST | "/updateClient/:index" | Update Client | -| POST | "/:id/resetClientTraffic/:email" | Reset Client's Traffic | -| POST | "/resetAllTraffics" | Reset traffics of all inbounds | -| POST | "/resetAllClientTraffics/:id" | Reset traffics of all clients in an inbound | +| Method | Path | Action | +| :----: | --------------------------------- | ------------------------------------------- | +| `GET` | `"/"` | Get all inbounds | +| `GET` | `"/get/:id"` | Get inbound with inbound.id | +| `POST` | `"/add"` | Add inbound | +| `POST` | `"/del/:id"` | Delete Inbound | +| `POST` | `"/update/:id"` | Update Inbound | +| `POST` | `"/addClient/"` | Add Client to inbound | +| `POST` | `"/delClient/:email"` | Delete Client | +| `POST` | `"/updateClient/:index"` | Update Client | +| `POST` | `"/:id/resetClientTraffic/:email"` | Reset Client's Traffic | +| `POST` | `"/resetAllTraffics"` | Reset traffics of all inbounds | +| `POST` | `"/resetAllClientTraffics/:id"` | Reset traffics of all clients in an inbound | # Environment Variables @@ -78,7 +78,7 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)** - CentOS 8+ - Ubuntu 20+ -- Debian 8+ +- Debian 10+ - Fedora 36+ # Install & Upgrade to latest version diff --git a/config/version b/config/version index 68bb111c..afaf360d 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.0.0_beta1 \ No newline at end of file +1.0.0 \ No newline at end of file diff --git a/install.sh b/install.sh index f1eefbac..74da1f8a 100755 --- a/install.sh +++ b/install.sh @@ -61,8 +61,8 @@ elif [[ "${release}" == "fedora" ]]; then fi elif [[ "${release}" == "debian" ]]; then - if [[ ${os_version} -lt 8 ]]; then - echo -e "${red} Please use Debian 8 or higher ${plain}\n" && exit 1 + if [[ ${os_version} -lt 10 ]]; then + echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1 fi else echo -e "${red}Failed to check the OS version, please contact the author!${plain}" && exit 1 diff --git a/x-ui.sh b/x-ui.sh index 657af29d..e4022b66 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -53,8 +53,8 @@ elif [[ "${release}" == "fedora" ]]; then fi elif [[ "${release}" == "debian" ]]; then - if [[ ${os_version} -lt 8 ]]; then - echo -e "${red} Please use Debian 8 or higher ${plain}\n" && exit 1 + if [[ ${os_version} -lt 10 ]]; then + echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1 fi fi