second version

This commit is contained in:
2026-06-07 21:51:20 +00:00
parent 8e2d7efc32
commit 282c841e11
23 changed files with 869 additions and 151 deletions
+2 -1
View File
@@ -89,7 +89,8 @@ func CheckEndpoint(ctx context.Context, url string) error {
if err != nil {
return err
}
resp, err := http.DefaultClient.Do(req)
client := http.Client{Timeout: 5 * time.Second}
resp, err := client.Do(req)
if err != nil {
return err
}