aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/state.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-27 00:02:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-27 00:02:17 +0200
commitc2b5808ca6ba592507bf49512f8c90883f74ece0 (patch)
treed1726aade2e189a6207ea7f8496023ac40b0cdf2 /internal/feed/state.go
parenta3d2087107312c1816adbc3d25882d36eb5b7d9d (diff)
downloadfeed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.tar.gz
feed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.tar.bz2
feed2imap-go-c2b5808ca6ba592507bf49512f8c90883f74ece0.zip
Add tls-no-verify option to disallow certificate checks.
Closes #3
Diffstat (limited to 'internal/feed/state.go')
-rw-r--r--internal/feed/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/state.go b/internal/feed/state.go
index 455602c..154fafd 100644
--- a/internal/feed/state.go
+++ b/internal/feed/state.go
@@ -104,7 +104,7 @@ func NewState(cfg *config.Config) *State {
}
for name, parsedFeed := range cfg.Feeds {
- state.feeds[name] = &Feed{Feed: parsedFeed}
+ state.feeds[name] = &Feed{Feed: parsedFeed, Global: cfg.GlobalOptions}
}
return &state