1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

chore: bump server versions

(cherry picked from commit c9e0b35272)
This commit is contained in:
AnthonyFuller 2024-09-12 11:35:58 +01:00
parent 4a5afe3fda
commit 16ae9798c9
6 changed files with 7 additions and 7 deletions

View File

@ -307,7 +307,7 @@ app.use(
break
case "fghi4567xQOCheZIin0pazB47qGUvZw4":
case STEAM_NAMESPACE_2021:
req.serverVersion = "8-16"
req.serverVersion = "8-17"
break
default:
res.status(400).json({ message: "no game data" })
@ -498,7 +498,7 @@ app.use(
}
if (
["6-74", "7-3", "7-17", "8-16"].includes(
["6-74", "7-3", "7-17", "8-17"].includes(
<string>req.serverVersion,
)
) {

View File

@ -33,7 +33,7 @@ import { SyncBailHook, SyncHook } from "../hooksImpl"
const menuSystemPreRouter = Router()
const menuSystemRouter = Router()
// /resources-8-16/
// /resources-8-17/
/**
* A class for managing the menu system's fetched JSON data.

View File

@ -45,7 +45,7 @@ function createUrlencodedBody(params: Record<string, string>): string {
const requestHeadersH3 = {
"User-agent": "G2 Http/1.0 (Windows NT 10.0; DX12/1; d3d12/1)",
Version: "8.15.0",
Version: "8.17.0",
}
const requestHeadersH2 = {

View File

@ -110,7 +110,7 @@ async function extract(locationParent, jwt, gameVersion) {
"User-Agent": "G2 Http/1.0 (Windows NT 10.0; DX12/1; d3d12/1)",
"Content-Type": "application/json",
Accept: "application/json, text/*, image/*, application/json",
Version: gameVersion === "h1" ? "6.74.0" : "8.15.0",
Version: gameVersion === "h1" ? "6.74.0" : "8.17.0",
Authorization: `bearer ${jwt}`,
},
})

View File

@ -422,7 +422,7 @@ async function extract(locationParent, jwt, apiUrl) {
"User-Agent": "G2 Http/1.0 (Windows NT 10.0; DX12/1; d3d12/1)",
"Content-Type": "application/json",
Accept: "application/json, text/*, image/*, application/json",
Version: "8.15.0",
Version: "8.17.0",
Authorization: `bearer ${jwt}`,
},
})

View File

@ -2,7 +2,7 @@
"Versions": [
{
"Name": "pc-prod",
"GAME_VER": "8.15.0",
"GAME_VER": "8.17.0",
"SERVER_VER": {
"Metrics": {
"MetricsServerHost": "http://localhost",