From aff33efcb0b581cb67b24e57cf4254c37bf98c34 Mon Sep 17 00:00:00 2001 From: Romanitho <96626929+Romanitho@users.noreply.github.com> Date: Tue, 18 Jan 2022 10:16:37 +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 77e4983..b6c6870 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 "Coonected !" "Green" $ping = $true return