mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
completely fix detour config
This commit is contained in:
1 parent
957eaf38db
commit
9713bf9adf
3 files changed
+7
-8
No files matched your search
@@ -72,7 +72,7 @@ type VMessInboundHandler struct {
|
||||
usersByEmail *userByEmail
|
||||
accepting bool
|
||||
listener *hub.TCPHub
|
||||
features *FeaturesConfig
|
||||
detours *DetourConfig
|
||||
listeningPort v2net.Port
|
||||
listeningAddress v2net.Address
|
||||
}
|
||||
@@ -232,7 +232,7 @@ func init() {
|
||||
handler := &VMessInboundHandler{
|
||||
packetDispatcher: space.GetApp(dispatcher.APP_ID).(dispatcher.PacketDispatcher),
|
||||
clients: allowedClients,
|
||||
features: config.Features,
|
||||
detours: config.DetourConfig,
|
||||
usersByEmail: NewUserByEmail(config.AllowedUsers, config.Defaults),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user