From 1ef4e6f4e74b167b82785e2275313a5abac0ca65 Mon Sep 17 00:00:00 2001 From: UplandJacob <123428589+UplandJacob@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:46:16 -0600 Subject: [PATCH] Update update_detector.yml --- .github/workflows/update_detector.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update_detector.yml b/.github/workflows/update_detector.yml index b3203d6..fcd4671 100644 --- a/.github/workflows/update_detector.yml +++ b/.github/workflows/update_detector.yml @@ -61,8 +61,7 @@ jobs: - name: ViaVersion run: | - latestVers=$(curl --silent \ - -X 'GET' -H "Accept-Encoding: identity" \ + latestVers=$(curl --silent -X 'GET' \ -H "Accept-Language: en" -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4.212 Safari/537.36" \ "https://hangar.papermc.io/api/v1/projects/ViaVersion/latestrelease" -H 'accept: application/json') echo "$latestVers"