v1.1.0
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
github: alireza0
|
||||
buy_me_a_coffee: alireza7
|
||||
|
||||
@@ -26,7 +26,8 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: false
|
||||
go-version-file: backend/go.mod
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
| Dark/Light Theme | :heavy_check_mark: |
|
||||
|
||||
|
||||
## Default Installation Informarion
|
||||
## Default Installation Information
|
||||
- Panel Port: 2095
|
||||
- Panel Path: /app/
|
||||
- Subscription Port: 2096
|
||||
@@ -40,12 +40,12 @@
|
||||
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh)
|
||||
```
|
||||
|
||||
## Install Custom Version
|
||||
## Install legacy Version
|
||||
|
||||
**Step 1:** To install your desired version, add the version to the end of the installation command. e.g., ver `0.0.1`:
|
||||
**Step 1:** To install your desired legacy version, add the version to the end of the installation command. e.g., ver `1.0.0`:
|
||||
|
||||
```sh
|
||||
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) 0.0.1
|
||||
bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) 1.0.0
|
||||
```
|
||||
|
||||
## Uninstall S-UI
|
||||
@@ -80,7 +80,7 @@ curl -fsSL https://get.docker.com | sh
|
||||
|
||||
```shell
|
||||
mkdir s-ui && cd s-ui
|
||||
wget -q https://raw.githubusercontent.com/alireza0/s-ui/refs/tags/1.0.0/docker-compose.yml
|
||||
wget -q https://raw.githubusercontent.com/alireza0/s-ui/master/docker-compose.yml
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
@@ -104,7 +104,7 @@ docker build -t s-ui .
|
||||
|
||||
</details>
|
||||
|
||||
## Manual run + contribution
|
||||
## Manual run ( contribution )
|
||||
|
||||
<details>
|
||||
<summary>Click for details</summary>
|
||||
@@ -125,7 +125,7 @@ npm run dev
|
||||
```
|
||||
> By this command it will run a `vite` web server on separate port `3000`, with backend proxy to `http://localhost:2095`. You can change it in `frontend/vite.config.mts`.
|
||||
|
||||
To build fronend:
|
||||
To build frontend:
|
||||
```shell
|
||||
cd frontend
|
||||
npm run build
|
||||
@@ -133,7 +133,7 @@ npm run build
|
||||
|
||||
### - Backend
|
||||
Backend codes are in `backend` folder in the root of repository.
|
||||
> Please build fronend once before!
|
||||
> Please build frontend once before!
|
||||
|
||||
To build backend:
|
||||
```shell
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.0
|
||||
1.1.0
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
|
||||
@@ -174,6 +174,7 @@ export default {
|
||||
this.inbound = createInbound(this.inbound.type, this.inbound.type != this.inTypes.Tun ? prevConfig : { tag: tag })
|
||||
if (this.HasInData.includes(this.inbound.type)){
|
||||
if (this.inData.id == -1) this.inData.id = 0
|
||||
this.inData.addrs = []
|
||||
this.inData.outJson = {}
|
||||
this.inData.tag = tag
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user