mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 11:29:36 +03:00
Do not cause error when json:"fallback"
is null
(#361)
Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
This commit is contained in:
@ -29,7 +29,7 @@ type VLessInboundFallback struct {
|
||||
type VLessInboundConfig struct {
|
||||
Clients []json.RawMessage `json:"clients"`
|
||||
Decryption string `json:"decryption"`
|
||||
Fallback json.RawMessage `json:"fallback"`
|
||||
Fallback *VLessInboundFallback `json:"fallback"`
|
||||
Fallbacks []*VLessInboundFallback `json:"fallbacks"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user