Allow custom url

This commit is contained in:
Ben Adrian Sarmiento
2024-06-16 21:11:40 +02:00
parent e5bb026f87
commit f2331c6a2e
4 changed files with 20 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ func MainApp(configPath string) {
repoClient4 := http.NewHTTPClient("", 0, 1, false, []string{}, proxyURL, log.Named("network_test"))
repoClient6 := http.NewHTTPClient("", 0, 1, true, []string{}, proxyURL, log.Named("network_test"))
repo := http.NewIPRepository(repoClient4, repoClient6, log.Named("network_test"))
repo := http.NewIPRepository(repoClient4, repoClient6, "", log.Named("network_test"))
repo.NetworkTest(false)
apiClient := http.NewHTTPClient(