Skip to content

Commit 6c26578

Browse files
authored
Disable cache
1 parent 555c56e commit 6c26578

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/modrinth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export interface VersionFile {
2222

2323
export async function get_project(id: string): Promise<Project> {
2424
const resp = await fetch(`https://api.modrinth.com/v2/project/${id}`, {
25+
cache: "no-store",
2526
headers: {
2627
'User-Agent': `Paigaldaja/${await getVersion()} (+https://github.com/Fabulously-Optimized/vanilla-installer-rust)`
2728
}

0 commit comments

Comments
 (0)