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:
parent
50b25d56cc
commit
c9e0b35272
@ -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,
|
||||
)
|
||||
) {
|
||||
|
@ -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.
|
||||
|
@ -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 = {
|
||||
|
@ -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}`,
|
||||
},
|
||||
})
|
||||
|
@ -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}`,
|
||||
},
|
||||
})
|
||||
|
@ -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}`,
|
||||
},
|
||||
})
|
||||
|
@ -2,7 +2,7 @@
|
||||
"Versions": [
|
||||
{
|
||||
"Name": "pc-prod",
|
||||
"GAME_VER": "8.15.0",
|
||||
"GAME_VER": "8.17.0",
|
||||
"SERVER_VER": {
|
||||
"Metrics": {
|
||||
"MetricsServerHost": "http://localhost",
|
||||
|
Loading…
Reference in New Issue
Block a user