1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-16 11:03:30 +01:00

chore: bump server versions

This commit is contained in:
AnthonyFuller 2024-09-12 11:35:58 +01:00
parent 50b25d56cc
commit c9e0b35272
7 changed files with 8 additions and 8 deletions

View File

@ -306,7 +306,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" })
@ -439,7 +439,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

@ -114,7 +114,7 @@ async function extract(locationParent, jwt, gameVersion, pro1) {
"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

@ -71,7 +71,7 @@ async function extract(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

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