mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-21 03:47:31 +03:00
Fix missing default store value
This commit is contained in:
@@ -24,7 +24,8 @@ func (o CertificateOptions) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
func (o *CertificateOptions) UnmarshalJSON(data []byte) error {
|
||||
if err := json.Unmarshal(data, (*_CertificateOptions)(o)); err != nil {
|
||||
err := json.Unmarshal(data, (*_CertificateOptions)(o))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
switch o.Store {
|
||||
|
||||
Reference in New Issue
Block a user