aboutsummaryrefslogtreecommitdiff
path: root/pkg/config
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-10-17 13:33:55 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-10-17 13:33:55 +0200
commit50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677 (patch)
treef227a996214cdaf4f6b099a7fe3dc7f09394fb5d /pkg/config
parentc369f615b0b53471a9f6d214e847bcaa1703ea5a (diff)
downloadfeed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.tar.gz
feed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.tar.bz2
feed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.zip
#62: Root can be empty
Diffstat (limited to '')
-rw-r--r--pkg/config/url.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/config/url.go b/pkg/config/url.go
index 403f787..06796a2 100644
--- a/pkg/config/url.go
+++ b/pkg/config/url.go
@@ -120,8 +120,5 @@ func (u *Url) validate() (errors []string) {
errors = append(errors, "Host not set")
}
- if u.Root == "" || u.Root == "/" {
- errors = append(errors, "Root path not set")
- }
return
}