diff --git a/GetCippAlerts/run.ps1 b/GetCippAlerts/run.ps1 index 554b25300eb2..af791ee99012 100644 --- a/GetCippAlerts/run.ps1 +++ b/GetCippAlerts/run.ps1 @@ -16,7 +16,7 @@ $APIVersion = Get-Content "version_latest.txt" | Out-String $CIPPVersion = $request.query.localversion $RemoteAPIVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt" -$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/version_latest.txt" +$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/public/version_latest.txt" $version = [PSCustomObject]@{ LocalCIPPVersion = $CIPPVersion diff --git a/GetVersion/run.ps1 b/GetVersion/run.ps1 index cf7a33c72ae0..d0e092e20571 100644 --- a/GetVersion/run.ps1 +++ b/GetVersion/run.ps1 @@ -10,7 +10,7 @@ $APIVersion = Get-Content "version_latest.txt" | Out-String $CIPPVersion = $request.query.localversion $RemoteAPIVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt" -$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/version_latest.txt" +$RemoteCIPPVersion = Invoke-RestMethod -Uri "https://raw.githubusercontent.com/KelvinTegelaar/CIPP/master/public/version_latest.txt" $version = [PSCustomObject]@{ LocalCIPPVersion = $CIPPVersion