diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-09 14:57:40 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-09 14:57:40 +0300 |
| commit | 7dc52e9a5378fd7f964fc7ee1a5627f484bdeb4a (patch) | |
| tree | 40e2a6fa2cff81e3f851c54e55d610349f530ff8 /web/service | |
| parent | fe9f0d1d0e86f55a97e3905358888f595b9bd08b (diff) | |
dokodemo-door, socks renamed to mixed, tunnel
Diffstat (limited to 'web/service')
| -rw-r--r-- | web/service/config.json | 2 | ||||
| -rw-r--r-- | web/service/tgbot.go | 4 |
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, } |
