mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: use no-store
This commit is contained in:
1 parent
30e4e4e9b3
commit
d9a34dc60e
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import { superDecompress } from './superDecompress';
|
import { superDecompress } from './superDecompress';
|
||||||
|
|
||||||
export async function fetchCdonLz4<Type>(url: string) {
|
export async function fetchCdonLz4<Type>(url: string) {
|
||||||
return await fetch(url, { cache: 'no-cache' })
|
return await fetch(url, { cache: 'no-store' })
|
||||||
.then((response) => response.arrayBuffer())
|
.then((response) => response.arrayBuffer())
|
||||||
.then((buffer) => superDecompress<Type>(new Uint8Array(buffer)));
|
.then((buffer) => superDecompress<Type>(new Uint8Array(buffer)));
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user