diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-07 12:19:52 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-07 12:19:52 +0100 |
| commit | a317743ae441fe7dfdc2f1ab6be702dd215973f6 (patch) | |
| tree | dc7406995ff9a3cb483070264ea48e57c7066d96 /internal | |
| parent | 274a0f55134f42a97e87b93a50e26bb1f14a1299 (diff) | |
V2 Config: omitempty CountryCode
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/config/v2/v2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/v2/v2.go b/internal/config/v2/v2.go index 51f7a5f..4a7bd13 100644 --- a/internal/config/v2/v2.go +++ b/internal/config/v2/v2.go @@ -23,7 +23,7 @@ type Server struct { // CountryCode is the country code for the server in case of secure internet // Otherwise it is an empty string - CountryCode string `json:"country_code"` + CountryCode string `json:"country_code,omitempty"` } // ServerKey is the key type of the server map |
