chore: Remove legacy workarounds

This commit is contained in:
Vendicated 2023-01-24 13:50:02 +01:00
parent 34276301c3
commit a38ac956df
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
8 changed files with 12 additions and 80 deletions

View file

@ -37,10 +37,7 @@ async function githubGet(endpoint: string) {
Accept: "application/vnd.github+json",
// "All API requests MUST include a valid User-Agent header.
// Requests with no User-Agent header will be rejected."
"User-Agent": VENCORD_USER_AGENT,
// todo: perhaps add support for (optional) api token?
// unauthorised rate limit is 60 reqs/h
// https://github.com/settings/tokens/new?description=Vencord%20Updater
"User-Agent": VENCORD_USER_AGENT
}
});
}