aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/updater
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcMain/updater')
-rw-r--r--src/ipcMain/updater/http.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ipcMain/updater/http.ts b/src/ipcMain/updater/http.ts
index 3b38144..25dc5ba 100644
--- a/src/ipcMain/updater/http.ts
+++ b/src/ipcMain/updater/http.ts
@@ -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
}
});
}