From bcafb585e3fb39cd0759c5cc492569ddf2a85c22 Mon Sep 17 00:00:00 2001 From: Romanitho <96626929+Romanitho@users.noreply.github.com> Date: Sun, 16 Jan 2022 18:48:47 +0100 Subject: [PATCH] Update winget-upgrade.ps1 --- winget-update/winget-upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winget-update/winget-upgrade.ps1 b/winget-update/winget-upgrade.ps1 index 82f799d..371f5e5 100644 --- a/winget-update/winget-upgrade.ps1 +++ b/winget-update/winget-upgrade.ps1 @@ -60,7 +60,7 @@ function Test-Network { Write-Log "Checking internet connection..." "Yellow" while (!$ping -and $timeout -lt 1800){ try{ - Invoke-RestMethod -Uri 'https://en.wikipedia.org/api/rest_v1/' + Invoke-RestMethod -Uri "https://ifconfig.me/" Write-Log "Connected !" "Green" $ping = $true return