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
diff options
context:
space:
mode:
Diffstat (limited to 'web/service')
-rw-r--r--web/service/config.json2
-rw-r--r--web/service/tgbot.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/service/config.json b/web/service/config.json
index 764d2b2e..e43675f8 100644
--- a/web/service/config.json
+++ b/web/service/config.json
@@ -19,7 +19,7 @@
"tag": "api",
"listen": "127.0.0.1",
"port": 62789,
- "protocol": "dokodemo-door",
+ "protocol": "tunnel",
"settings": {
"address": "127.0.0.1"
}
diff --git a/web/service/tgbot.go b/web/service/tgbot.go
index e957ff9f..e0acebb7 100644
--- a/web/service/tgbot.go
+++ b/web/service/tgbot.go
@@ -2129,8 +2129,8 @@ func (t *Tgbot) getInboundsAddClient() (*telego.InlineKeyboardMarkup, error) {
}
excludedProtocols := map[model.Protocol]bool{
- model.DOKODEMO: true,
- model.Socks: true,
+ model.Tunnel: true,
+ model.Mixed: true,
model.WireGuard: true,
model.HTTP: true,
}