File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export interface VersionFile {
2222
2323export async function get_project ( id : string ) : Promise < Project > {
2424 const resp = await fetch ( `https://api.modrinth.com/v2/project/${ id } ` , {
25- cache : "no-store" ,
2625 headers : {
2726 'User-Agent' : `Paigaldaja/${ await getVersion ( ) } (+https://github.com/Fabulously-Optimized/vanilla-installer-rust)`
2827 }
@@ -32,6 +31,7 @@ export async function get_project(id: string): Promise<Project> {
3231
3332export async function list_versions ( id : string ) : Promise < Version [ ] > {
3433 const resp = await fetch ( `https://api.modrinth.com/v2/project/${ id } /version?include_changelog=false` , {
34+ cache : "no-store" ,
3535 headers : {
3636 'User-Agent' : `Paigaldaja/${ await getVersion ( ) } (+https://github.com/Fabulously-Optimized/vanilla-installer-rust)`
3737 }
You can’t perform that action at this time.
0 commit comments