summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-31 10:23:53 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-31 10:23:53 +0100
commit31ef27e6faaa82a12d2d841d18f1df6732a3ecf0 (patch)
tree205fd03a483020baef8aa4a3f614ce94089f5a21
parent383db3d8ed804e66fe7052e9eb0488c59cef7671 (diff)
Discovery Test: Fix http -> https typo
We rewrite URLs anyway so this is still fine but let's not make it so confusing
-rw-r--r--internal/discovery/discovery_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/discovery/discovery_test.go b/internal/discovery/discovery_test.go
index 31615d8..0a1ec4d 100644
--- a/internal/discovery/discovery_test.go
+++ b/internal/discovery/discovery_test.go
@@ -30,7 +30,7 @@ func setupFileServer(t *testing.T, directory string) *httptest.Server {
// Override the global disco URL with the local file server
port := listener.Addr().(*net.TCPAddr).Port
- DiscoURL = fmt.Sprintf("http://127.0.0.1:%d/", port)
+ DiscoURL = fmt.Sprintf("https://127.0.0.1:%d/", port)
return s
}