From 50a50d736b5d5f1e9e2ef3c6afa6b4c0d3e50677 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 17 Oct 2021 13:33:55 +0200 Subject: #62: Root can be empty --- pkg/config/url.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/config/url.go') 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 } -- cgit v1.2.3-70-g09d2