diff options
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 04132ee..5ac01c4 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -33,6 +33,11 @@ func (c *Config) Discovery() *discovery.Discovery { return &c.V2.Discovery } +// HasSecureInternet returns whether or not the configuration has a secure internet server +func (c *Config) HasSecureInternet() bool { + return c.V2.HasSecureInternet() +} + // Save saves the state file to disk func (c *Config) Save() error { if err := util.EnsureDirectory(c.directory); err != nil { |
