mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: non-blocking tank averages caching
This commit is contained in:
1 parent
a1a13df7ce
commit
f28e8c8acb
2 files changed
+13
-11
No files matched your search
@@ -18,8 +18,9 @@ export interface Tankopedia {
|
||||
[id: number]: TankopediaEntry;
|
||||
}
|
||||
|
||||
console.log('Caching tankopedia...');
|
||||
export const tankopedia: Tankopedia = {};
|
||||
|
||||
console.log('Caching tankopedia...');
|
||||
fetch('https://www.blitzstars.com/bs-tankopedia.json')
|
||||
.then(
|
||||
(response) =>
|
||||
|
||||
Reference in new issue
Block a user