import { ofetch } from "ofetch"; export const $modrinthFetch = ofetch.create({ headers: { "User-Agent": "ToBinio/modrinth-statistics" }, baseURL: "https://api.modrinth.com/v2/", retry: 3, retryDelay: 1000, }); export const $modrinthV3Fetch = ofetch.create({ headers: { "User-Agent": "ToBinio/modrinth-statistics" }, baseURL: "https://api.modrinth.com/v3/", retry: 3, retryDelay: 1000, });