mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2be4dbea7a | ||
|
|
b951c81bf5 | ||
|
|
8c221a1295 | ||
|
|
c41f721a96 |
No files matched your search
Vendored
+1
@@ -47,6 +47,7 @@
|
|||||||
"Unregistering",
|
"Unregistering",
|
||||||
"vickers",
|
"vickers",
|
||||||
"vitepress",
|
"vitepress",
|
||||||
|
"Vovko",
|
||||||
"wargaming",
|
"wargaming",
|
||||||
"webp",
|
"webp",
|
||||||
"winrate",
|
"winrate",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# Blitzkrieg 1.15.6
|
||||||
|
|
||||||
|
This should have also been in the last update lol.
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Changed the format of `/about creators` and added one more person
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Archived ratings leaderboards are now fetched from the correct URL path
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
# Creators
|
# Creators
|
||||||
|
|
||||||
- TrèsAbhi `@tresabhi`
|
- **TrèsAbhi** `@tresabhi`: Creator and main programmer
|
||||||
- Creator & main programmer; _I do it all!_
|
- **Prince_NA** `@prince_na`: Game advisor & tester
|
||||||
- Prince_NA `@prince_na`
|
- **Vovko**: Technical advisor
|
||||||
- Advisor & tester
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkrieg",
|
"name": "blitzkrieg",
|
||||||
"version": "1.15.5",
|
"version": "1.15.6",
|
||||||
"description": "🎉 Tools for everything World of Tanks Blitz",
|
"description": "🎉 Tools for everything World of Tanks Blitz",
|
||||||
"main": "src/server.ts",
|
"main": "src/server.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export async function getArchivedLatestSeasonNumber() {
|
|||||||
if (ratingsInfo.detail) {
|
if (ratingsInfo.detail) {
|
||||||
const comURL = (
|
const comURL = (
|
||||||
(await fetch(
|
(await fetch(
|
||||||
'https://api.github.com/repos/tresabhi/blitzkrieg-assets/git/trees/main',
|
'https://api.github.com/repos/tresabhi/blitzkrieg-assets/git/trees/main/regions',
|
||||||
).then((response) => response.json())) as {
|
).then((response) => response.json())) as {
|
||||||
tree: { path: string; url: string }[];
|
tree: { path: string; url: string }[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default async function getArchivedRatingsInfo(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/${region}/ratings/${season}/info.json`,
|
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/regions/${region}/ratings/${season}/info.json`,
|
||||||
);
|
);
|
||||||
const jsonContent = (await response.json()) as RatingsInfo & {
|
const jsonContent = (await response.json()) as RatingsInfo & {
|
||||||
detail: undefined;
|
detail: undefined;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export async function getArchivedRatingsLeaderboard(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/${region}/ratings/${season}/latest.json`,
|
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/regions/${region}/ratings/${season}/latest.json`,
|
||||||
);
|
);
|
||||||
const json = (await response.json()) as BlitzkriegRatingsLeaderboard;
|
const json = (await response.json()) as BlitzkriegRatingsLeaderboard;
|
||||||
LEADERBOARD_CACHE[region][season] = json;
|
LEADERBOARD_CACHE[region][season] = json;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export default async function getArchivedRatingsMidnightLeaderboard(
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/${region}/ratings/${season}/midnight.json`,
|
`https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/regions/${region}/ratings/${season}/midnight.json`,
|
||||||
);
|
);
|
||||||
const json = (await response.json()) as BlitzkriegRatingsLeaderboard;
|
const json = (await response.json()) as BlitzkriegRatingsLeaderboard;
|
||||||
MIDNIGHT_LEADERBOARD_CACHE[region][season] = json;
|
MIDNIGHT_LEADERBOARD_CACHE[region][season] = json;
|
||||||
|
|||||||
Reference in new issue
Block a user