fix: 🐛 use b64url

This commit is contained in:
May 2024-11-21 21:05:06 -08:00
parent 7da7cc8b3a
commit 3062d0c541
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -48,7 +48,7 @@ export default translator({
client_event_source: null, client_event_source: null,
}) })
).toString("base64"), ).toString("base64"),
cookie: Buffer.from(cookie, "base64").toString(), cookie: Buffer.from(cookie, "base64url").toString(),
"X-Discord-Locale": "en-US", "X-Discord-Locale": "en-US",
"X-Discord-Timezone": "America/Los_Angeles", "X-Discord-Timezone": "America/Los_Angeles",
"X-Debug-Options": "bugReporterEnabled", "X-Debug-Options": "bugReporterEnabled",