mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-03-03 14:43:01 +00:00
Compare commits
1 commit
a3b8c7765b
...
6e4f9063ae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e4f9063ae |
3 changed files with 2 additions and 11 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
XUI_DEBUG=true
|
|
||||||
XUI_DB_FOLDER=x-ui
|
|
||||||
XUI_LOG_FOLDER=x-ui
|
|
||||||
XUI_BIN_FOLDER=x-ui
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
## Local Development Setup
|
|
||||||
|
|
||||||
- Create a directory named `x-ui` in the project root
|
|
||||||
- Rename `.env.example` to `.env `
|
|
||||||
- Run `main.go`
|
|
||||||
|
|
@ -527,10 +527,10 @@
|
||||||
findOutboundTraffic(o) {
|
findOutboundTraffic(o) {
|
||||||
for (const otraffic of this.outboundsTraffic) {
|
for (const otraffic of this.outboundsTraffic) {
|
||||||
if (otraffic.tag == o.tag) {
|
if (otraffic.tag == o.tag) {
|
||||||
return `↑ ${SizeFormatter.sizeFormat(otraffic.up)} / ${SizeFormatter.sizeFormat(otraffic.down)} ↓`
|
return SizeFormatter.sizeFormat(otraffic.up) + ' / ' + SizeFormatter.sizeFormat(otraffic.down);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return `${SizeFormatter.sizeFormat(0)} / ${SizeFormatter.sizeFormat(0)}`
|
return SizeFormatter.sizeFormat(0) + ' / ' + SizeFormatter.sizeFormat(0);
|
||||||
},
|
},
|
||||||
findOutboundAddress(o) {
|
findOutboundAddress(o) {
|
||||||
serverObj = null;
|
serverObj = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue