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