mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
fix config creator cache
This commit is contained in:
parent
fd50e8e12b
commit
67793eb3e0
@ -34,6 +34,10 @@
|
||||
}
|
||||
},
|
||||
"transport": {
|
||||
"connectionReuse": true
|
||||
"kcpSettings": {
|
||||
"header": {
|
||||
"type": "srtp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,6 +46,10 @@
|
||||
}
|
||||
],
|
||||
"transport": {
|
||||
"connectionReuse": true
|
||||
"kcpSettings": {
|
||||
"header": {
|
||||
"type": "srtp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,5 +15,9 @@ func CreateAuthenticatorConfig(rawConfig []byte) (string, interface{}, error) {
|
||||
}
|
||||
|
||||
var (
|
||||
configLoader = loader.NewJSONConfigLoader(loader.ConfigCreatorCache{}, "type", "")
|
||||
configLoader loader.ConfigLoader
|
||||
)
|
||||
|
||||
func init() {
|
||||
configLoader = loader.NewJSONConfigLoader(configCache, "type", "")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user