---
This allows you to specify a cal/carddav server while using a domain that has SRV
records for imap and smtp.
e.g. `go run ./cmd/alps ccel.org https://cloud.zachdecook.com/remote.php/dav/files/zach/`
(previously, this would crash)
server.go | 3 ---
1 file changed, 3 deletions(-)
diff --git a/server.go b/server.go
index 7d7a431..ae39b8d 100644
--- a/server.go+++ b/server.go
@@ -101,9 +101,6 @@ func (s *Server) Upstream(schemes ...string) (*url.URL, error) {
if len(urls) == 0 {
return nil, &NoUpstreamError{schemes}
}
- if len(urls) > 1 {- return nil, fmt.Errorf("multiple upstream servers are configured for schemes %v", schemes)- } return urls[0], nil
}
--
2.28.0