mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor: switch to vercel blob for docs
This commit is contained in:
@@ -159,7 +159,7 @@ export async function fetchVersions(pkg: string) {
|
||||
|
||||
export async function fetchVersionDocs(pkg: string, version: string) {
|
||||
const response = await request(`https://docs.discordjs.dev/docs/${pkg}/${version}.api.json`);
|
||||
return response.body.json() as Promise<Record<any, any>>;
|
||||
return response.body.json();
|
||||
}
|
||||
|
||||
export async function generateAllIndices({
|
||||
|
||||
Reference in New Issue
Block a user