diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-17 13:33:55 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-17 13:33:55 +0200 |
commit | 50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677 (patch) | |
tree | f227a996214cdaf4f6b099a7fe3dc7f09394fb5d /pkg | |
parent | c369f615b0b53471a9f6d214e847bcaa1703ea5a (diff) | |
download | feed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.tar.gz feed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.tar.bz2 feed2imap-go-50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677.zip |
#62: Root can be empty
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/config/url.go | 3 |
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 } |